Function at 0x48162d
Capabilities:
Log keystrokes via application hook

Disassembly:
mov eax, 0x53a13c
call fcn.0050ad90
sub esp, 0x70
push ebx
push esi
mov esi, ecx
push edi
push 1
cmp dword [esi + 0xa0a54], 0
lea eax, [esi + 0xa0a54]
pop ebx
jne 0x481653
mov dword [eax], ebx
cmp dword [esi + 0xa0a58], 0
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esi + 0xa0a58]
jne 0x481d14
mov dword [eax], ebx
lea eax, [ebp - 0x2c]
push eax
push dword [esi + 0xa0e4c]
call edi
mov eax, dword [ebp - 0x20]
push ebx
sub eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x2c]
push eax
call fcn.004704b0
mov ecx, eax
call fcn.004e718a
mov ecx, dword [0x582e80]
sub ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 0x28]
sub ecx, eax
sub ecx, 0x8c
push ecx
push 0
lea ecx, [esi + 0xa0e2c]
call sub.MFC42.DLL_CWnd::MoveWindow
lea eax, [ebp - 0x2c]
push eax
push dword [esi + 0x20]
call edi
push ebx
push str.Slider0
push dword [ebp - 0x28]
lea ecx, [esi + 0xa0e2c]
push dword [ebp - 0x2c]
call fcn.00493faf
mov ebx, 0x12c
lea ecx, [esi + 0xa0e2c]
push ebx
call fcn.00493f78
push ebx
lea ecx, [esi + 0xa0e2c]
call fcn.00493f87
mov ebx, dword [sym.imp.graphic.dll_public:_static_int___cdecl_CMyBitmap::GetScreenWidth_void_]
push 1
push 0x10
push 0x10
push 4
call ebx
sub eax, 0x28
lea ecx, [esi + 0xa0c8c]
push eax
call sub.MFC42.DLL_CWnd::MoveWindow
push 1
push 0x10
push 0x10
push 4
call ebx
sub eax, 0x14
lea ebx, [esi + 0xa0d5c]
push eax
mov ecx, ebx
call sub.MFC42.DLL_CWnd::MoveWindow
push 0
push 0
push str.Button01
lea ecx, [esi + 0xa0c8c]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.004710b0
push 0
push 0
push str.Button02
mov ecx, ebx
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.004710b0
push esi
push 0xad
lea ecx, [esi + 0x9d52c]
call sub.MFC42.DLL_CDialog::Create
push esi
push 0x9e
lea ecx, [esi + 0x7ea78]
call sub.MFC42.DLL_CDialog::Create
mov eax, dword [esi + 0xa0bb4]
test eax, eax
je 0x48178d
mov eax, dword [eax + 4]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 1
push eax
push 0x30
push dword [esi + 0x7f1d8]
call ebx
push esi
push 0x14b
lea ecx, [esi + 0x9c728]
call sub.MFC42.DLL_CDialog::Create
push esi
push 0x13e
lea ecx, [esi + 0x9bbd8]
call sub.MFC42.DLL_CDialog::Create
push esi
push 0x13d
lea ecx, [esi + 0x9b92c]
call sub.MFC42.DLL_CDialog::Create
push esi
push 0x14d
lea ecx, [esi + 0x83b24]
call sub.MFC42.DLL_CDialog::Create
push esi
push 0x14c
lea ecx, [esi + 0x9af3c]
call sub.MFC42.DLL_CDialog::Create
push esi
push 0x14e
lea ecx, [esi + 0x7f9fc]
call sub.MFC42.DLL_CDialog::Create
push esi
push 0x128
lea ecx, [esi + 0x83418]
call sub.MFC42.DLL_CDialog::Create
push esi
push 0x12a
lea ecx, [esi + 0x9c2dc]
call sub.MFC42.DLL_CDialog::Create
push esi
push 0x12b
lea ecx, [esi + 0x9cab0]
call sub.MFC42.DLL_CDialog::Create
push esi
push 0x125
lea ecx, [esi + 0x9bf68]
call sub.MFC42.DLL_CDialog::Create
push esi
push 0x12e
lea ecx, [esi + 0x9d1b0]
call sub.MFC42.DLL_CDialog::Create
push esi
push 0x134
lea ecx, [esi + 0x9cd58]
call sub.MFC42.DLL_CDialog::Create
push esi
lea ecx, [esi + 0x798]
push 0x82
call sub.MFC42.DLL_CDialog::Create
lea eax, [ebp - 0x2c]
push eax
push dword [esi + 0x7b8]
call edi
push 1
push 0x8d
call dword [sym.imp.graphic.dll_public:_static_int___cdecl_CMyBitmap::GetScreenWidth_void_]
push eax
call dword [sym.imp.graphic.dll_public:_static_int___cdecl_CMyBitmap::GetScreenHeight_void_]
sub eax, 0x8d
lea ecx, [esi + 0x798]
push eax
push 0
call sub.MFC42.DLL_CWnd::MoveWindow
push esi
push 0x127
lea ecx, [esi + 0x9b52c]
call sub.MFC42.DLL_CDialog::Create
mov eax, dword [esi + 0xa0ae0]
cmp eax, 2
je 0x4818d1
cmp eax, 3
jne 0x4818de
push 1
lea ecx, [esi + 0x27474]
call fcn.00460816
mov eax, dword [esi + 0xa0bb4]
test eax, eax
je 0x4818eb
mov eax, dword [eax + 4]
push 1
push eax
push 0x30
push dword [esi + 0xa01f8]
call ebx
mov eax, dword [esi + 0xa0bb4]
test eax, eax
je 0x481905
mov eax, dword [eax + 4]
push 1
push eax
push 0x30
push dword [esi + 0x307ec]
call ebx
mov eax, dword [esi + 0xa0bb4]
test eax, eax
je 0x48191f
mov eax, dword [eax + 4]
push 1
push eax
push 0x30
push dword [esi + 0x780b4]
call ebx
mov eax, dword [esi + 0xa0bb4]
test eax, eax
je 0x481939
mov eax, dword [eax + 4]
push 1
push eax
push 0x30
push dword [esi + 0x2d290]
call ebx
mov eax, dword [esi + 0xa0bb4]
test eax, eax
je 0x481953
mov eax, dword [eax + 4]
push 1
push eax
push 0x30
push dword [esi + 0x2d34c]
call ebx
mov eax, dword [esi + 0xa0bb4]
test eax, eax
je 0x48196d
mov eax, dword [eax + 4]
push 1
push eax
push 0x30
push dword [esi + 0x26ed0]
call ebx
mov eax, dword [esi + 0xa0bb4]
test eax, eax
je 0x481987
mov eax, dword [eax + 4]
push 1
push eax
push 0x30
push dword [esi + 0x458b4]
call ebx
mov eax, dword [esi + 0xa0bb4]
test eax, eax
je 0x4819a1
mov eax, dword [eax + 4]
push 1
push eax
push 0x30
push dword [esi + 0x4afc0]
call ebx
mov eax, dword [esi + 0xa0bb4]
test eax, eax
je 0x4819bb
mov eax, dword [eax + 4]
push 1
push eax
push 0x30
push dword [esi + 0x429e8]
call ebx
mov eax, dword [esi + 0xa0bb4]
test eax, eax
je 0x4819d5
mov eax, dword [eax + 4]
push 1
push eax
push 0x30
push dword [esi + 0x4ce18]
call ebx
mov eax, dword [esi + 0xa0bb4]
test eax, eax
je 0x4819ef
mov eax, dword [eax + 4]
push 1
push eax
push 0x30
push dword [esi + 0x4d8ac]
call ebx
mov eax, dword [esi + 0xa0bb4]
test eax, eax
je 0x481a09
mov eax, dword [eax + 4]
push 1
push eax
push 0x30
push dword [esi + 0x44da4]
call ebx
mov eax, dword [esi + 0xa0bb4]
test eax, eax
je 0x481a23
mov eax, dword [eax + 4]
push 1
push eax
push 0x30
push dword [esi + 0x450e8]
call ebx
call dword [sym.imp.GraphicData.dll_GameDataSetQuery]
mov edx, dword [eax]
push str.English
mov ecx, eax
call dword [edx + 0x34]
push eax
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
jne 0x481ada
xor ebx, ebx
lea ecx, [esi + 0xa01d8]
push ebx
call fcn.004759a6
push ebx
lea ecx, [esi + 0x307cc]
call fcn.004759a6
push ebx
lea ecx, [esi + 0x78094]
call fcn.004759a6
push ebx
lea ecx, [esi + 0x2d270]
call fcn.004f3aee
push ebx
lea ecx, [esi + 0x2d32c]
call fcn.004759a6
push ebx
lea ecx, [esi + 0x26eb0]
call fcn.004759a6
push ebx
lea ecx, [esi + 0x45894]
call fcn.004759a6
push ebx
lea ecx, [esi + 0x4afa0]
call fcn.004759a6
push ebx
lea ecx, [esi + 0x429c8]
call fcn.004759a6
push ebx
lea ecx, [esi + 0x4cdf8]
call fcn.004759a6
push ebx
lea ecx, [esi + 0x4d88c]
call fcn.004759a6
jmp 0x481adc
xor ebx, ebx
push 0x64
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ebx
pop eax
mov dword [ebp - 0x70], ebx
mov ebx, dword [sym.imp.graphic.dll_public:_static_int___cdecl_CMyBitmap::GetScreenWidth_void_]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], 0x5a
call ebx
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], 0x5a
call ebx
mov dword [ebp - 0x5c], eax
mov eax, 0x8d
xor ecx, ecx
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], 0x5442b4
push 1
lea eax, [ebp - 0x7c]
push 6
push eax
mov dword [ebp - 4], ecx
call dword [sym.imp.GDI32.dll_CreatePolygonRgn]
push eax
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CGdiObject::Attach
lea eax, [ebp - 0x14]
push 1
neg eax
sbb eax, eax
and eax, dword [ebp - 0x10]
push eax
push dword [esi + 0x7b8]
call dword [sym.imp.USER32.dll_SetWindowRgn]
push 5
lea ecx, [esi + 0x798]
call sub.MFC42.DLL_CWnd::ShowWindow
lea eax, [ebp - 0x2c]
push eax
push dword [esi + 0x20]
call edi
lea eax, [ebp - 0x3c]
push eax
push dword [esi + 0x7dbe8]
call edi
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x28]
sub ecx, dword [ebp - 0x2c]
push 0x14
pop ebx
mov dword [esi + 0xa0a74], ecx
sub eax, ebx
mov dword [esi + 0xa0a78], eax
lea eax, [ebp - 0x3c]
push eax
push dword [esi + 0x7e028]
call edi
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x28]
sub ecx, dword [ebp - 0x2c]
sub eax, ebx
mov dword [esi + 0xa0a7c], ecx
mov dword [esi + 0xa0a80], eax
lea eax, [ebp - 0x3c]
push eax
push dword [esi + 0x7ded8]
call edi
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x28]
sub eax, ebx
sub ecx, dword [ebp - 0x2c]
mov dword [esi + 0xa0a84], ecx
mov dword [esi + 0xa0a88], eax
lea eax, [ebp - 0x3c]
push eax
push dword [esi + 0x7df80]
call edi
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x28]
sub ecx, dword [ebp - 0x2c]
sub eax, ebx
mov dword [esi + 0xa0a8c], ecx
mov dword [esi + 0xa0a90], eax
lea eax, [ebp - 0x3c]
push eax
push dword [esi + 0x7e0d0]
call edi
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x28]
sub ecx, dword [ebp - 0x2c]
sub eax, ebx
mov dword [esi + 0xa0a94], ecx
mov dword [esi + 0xa0a98], eax
lea eax, [ebp - 0x3c]
push eax
push dword [esi + 0x7e178]
call edi
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x28]
sub ecx, dword [ebp - 0x2c]
sub eax, ebx
mov dword [esi + 0xa0a9c], ecx
mov dword [esi + 0xa0aa0], eax
lea eax, [ebp - 0x3c]
push eax
push dword [esi + 0x7dca4]
call edi
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x28]
sub ecx, dword [ebp - 0x2c]
sub eax, ebx
mov dword [esi + 0xa0aa4], ecx
mov dword [esi + 0xa0aa8], eax
lea eax, [ebp - 0x3c]
push eax
push dword [esi + 0x7dd60]
call edi
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x28]
sub ecx, dword [ebp - 0x2c]
sub eax, ebx
mov dword [esi + 0xa0aac], ecx
mov dword [esi + 0xa0ab0], eax
lea eax, [ebp - 0x3c]
push eax
push dword [esi + 0x7de1c]
call edi
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x28]
sub ecx, dword [ebp - 0x2c]
sub eax, ebx
mov dword [esi + 0xa0ab4], ecx
mov dword [esi + 0xa0ab8], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0
push 0x481299
push 2
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
test eax, eax
mov dword [0x58e510], eax
je 0x481cf8
lea eax, [esi + 0x798]
mov dword [0x58e76c], esi
mov dword [0x58e768], eax
mov dword [ebp - 0x14], 0x5442a0
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 1
call sub.MFC42.DLL_CGdiObject::DeleteObject
or dword [ebp - 4], 0xffffffff
jmp 0x481d1f
lea ecx, [esi + 0x29230]
call fcn.0042bc10
lea eax, [ebp - 0x4c]
xor ebx, ebx
push eax
mov dword [esi + 0xa0b9c], ebx
mov dword [esi + 0xa0b78], ebx
push dword [esi + 0x7df80]
call edi
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push 8
push eax
push 0x58e980
mov dword [ebp - 0x18], ecx
call sub.MSVCRT.dll_memcpy
lea edi, [esi + 0x64324]
add esp, 0xc
cmp edi, ebx
je 0x481d7f
cmp dword [edi + 0x20], ebx
je 0x481d7f
push dword [esi + 0x64344]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x481d7f
push ebx
mov ecx, edi
call sub.MFC42.DLL_CWnd::ShowWindow
mov ecx, esi
call sub.MFC42.DLL_CWnd::SetFocus
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret