Function at 0x481799
Capabilities:
Log keystrokes via application hook

Disassembly:
mov eax, 0x53ae6c
call fcn.0050bac0
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 0x4817bf
mov dword [eax], ebx
cmp dword [esi + 0xa0a58], 0
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esi + 0xa0a58]
jne 0x481e80
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.004705d4
mov ecx, eax
call fcn.00401f9f
mov ecx, dword [0x583df0]
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.004940e7
mov ebx, 0x12c
lea ecx, [esi + 0xa0e2c]
push ebx
call fcn.004940b0
push ebx
lea ecx, [esi + 0xa0e2c]
call fcn.004940bf
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.00471151
push 0
push 0
push str.Button02
mov ecx, ebx
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.00471151
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 0x4818f9
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 pe_nt_image_headers32
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 0x481a3d
cmp eax, 3
jne 0x481a4a
push 1
lea ecx, [esi + 0x27474]
call fcn.004608d5
mov eax, dword [esi + 0xa0bb4]
test eax, eax
je 0x481a57
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 0x481a71
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 0x481a8b
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 0x481aa5
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 0x481abf
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 0x481ad9
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 0x481af3
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 0x481b0d
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 0x481b27
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 0x481b41
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 0x481b5b
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 0x481b75
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 0x481b8f
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 0x481c46
xor ebx, ebx
lea ecx, [esi + 0xa01d8]
push ebx
call fcn.00475987
push ebx
lea ecx, [esi + 0x307cc]
call fcn.00475987
push ebx
lea ecx, [esi + 0x78094]
call fcn.00475987
push ebx
lea ecx, [esi + 0x2d270]
call fcn.004f3c7f
push ebx
lea ecx, [esi + 0x2d32c]
call fcn.00475987
push ebx
lea ecx, [esi + 0x26eb0]
call fcn.00475987
push ebx
lea ecx, [esi + 0x45894]
call fcn.00475987
push ebx
lea ecx, [esi + 0x4afa0]
call fcn.00475987
push ebx
lea ecx, [esi + 0x429c8]
call fcn.00475987
push ebx
lea ecx, [esi + 0x4cdf8]
call fcn.00475987
push ebx
lea ecx, [esi + 0x4d88c]
call fcn.00475987
jmp 0x481c48
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], 0x5452b4
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 0x481405
push 2
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
test eax, eax
mov dword [0x58f3d0], eax
je 0x481e64
lea eax, [esi + 0x798]
mov dword [0x58f62c], esi
mov dword [0x58f628], eax
mov dword [ebp - 0x14], 0x5452a0
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 1
call sub.MFC42.DLL_CGdiObject::DeleteObject
or dword [ebp - 4], 0xffffffff
jmp 0x481e8b
lea ecx, [esi + 0x29230]
call fcn.0042bd18
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 0x58f840
mov dword [ebp - 0x18], ecx
call sub.MSVCRT.dll_memcpy
lea edi, [esi + 0x64324]
add esp, 0xc
cmp edi, ebx
je 0x481eeb
cmp dword [edi + 0x20], ebx
je 0x481eeb
push dword [esi + 0x64344]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x481eeb
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