Function at 0x430410
Capabilities:
Log keystrokes via polling
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4395c0
push eax
mov al, byte [0x45c758]
mov dword fs:[0], esp
sub esp, 0x68
test al, 1
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov esi, 0xd5dfe96f
jne 0x43045a
mov dl, al
push 0x430a30
or dl, 1
mov dword [0x45c754], esi
mov byte [0x45c758], dl
call fcn.004352e2
add esp, 4
mov al, byte [0x45c758]
test al, 2
jne 0x430481
mov dl, al
push 0x430a20
or dl, 2
mov dword [0x45c750], esi
mov byte [0x45c758], dl
call fcn.004352e2
add esp, 4
mov eax, dword [0x4530c0]
xor esi, esi
add eax, 0xf
test eax, eax
jl 0x43054f
mov dword [esp + 0x10], 0x45c250
lea ecx, [esp + 0x28]
push esi
push ecx
mov ecx, edi
call fcn.00432a80
mov ebp, dword [eax]
mov ebx, dword [eax + 4]
mov eax, dword [esp + 0x88]
test eax, eax
je 0x430505
lea edx, [esp + 0x38]
push esi
push edx
mov ecx, edi
call fcn.0042fdc0
push 0x45c770
push eax
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x60]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x64]
lea edx, [esp + 0x48]
mov dword [esp + 0x50], eax
push edx
mov dword [esp + 0x58], ecx
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x430514
mov eax, dword [esp + 0x10]
cmp ebp, dword [eax]
jne 0x430518
cmp ebx, dword [eax + 4]
je 0x430536
jmp 0x430518
mov eax, dword [esp + 0x10]
mov dword [eax], ebp
mov dword [eax + 4], ebx
mov eax, ebx
and ebx, 1
shr eax, 1
and eax, 1
mov ecx, edi
push eax
push ebx
push ebp
push esi
call fcn.0042fec0
mov eax, dword [esp + 0x10]
mov ecx, dword [0x4530c0]
inc esi
add ecx, 0xf
add eax, 8
cmp esi, ecx
mov dword [esp + 0x10], eax
jle 0x43049b
call sub.ImageDll.dll_int___cdecl_IsAnimate_void_
mov ebp, dword [0x47c898]
mov ebx, dword [esp + 0x88]
mov esi, eax
xor edx, edx
cmp esi, ebp
setne dl
or ebx, edx
mov dword [esp + 0x88], ebx
call dword [sym.imp.ImageDll.dll_void____cdecl_VoidGetCurrentImage_void_]
mov ecx, eax
xor eax, eax
xor ebp, ebp
mov dword [esp + 0x10], ecx
test ecx, ecx
mov ebx, 1
je 0x4305b4
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.ImageDll.dll_public:_struct_CGoRunSoftware::CBColor::ImgColor___thiscall_CImage::FrontColor_void_]
mov ebx, dword [eax]
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x14]
call dword [sym.imp.ImageDll.dll_public:_struct_CGoRunSoftware::CBColor::ImgColor___thiscall_CImage::BackColor_void_]
mov ecx, dword [esp + 0x10]
mov ebp, dword [eax]
call dword [sym.imp.ImageDll.dll_public:_long_int___thiscall_CImage::MaskType_void_const]
cmp eax, dword [0x45304c]
jne 0x4305db
cmp dword [0x45c754], ebx
jne 0x4305db
cmp dword [0x45c750], ebp
jne 0x4305db
mov ecx, dword [esp + 0x88]
test ecx, ecx
je 0x430859
mov dword [0x45c754], ebx
mov dword [0x45c750], ebp
mov dword [0x45304c], eax
mov dword [0x47c898], esi
mov edx, dword [edi + 0x20]
push edx
call dword [sym.imp.USER32.dll_GetDC]
push eax
call sub.MFC42.DLL_CDC::FromHandle
mov ecx, edi
mov esi, eax
call fcn.0042fff0
mov ecx, dword [0x45c7a4]
mov eax, dword [0x45c7a0]
mov edx, dword [0x45c7a8]
mov dword [esp + 0x5c], ecx
mov ecx, dword [0x45c790]
mov dword [esp + 0x58], eax
mov eax, dword [0x45c7ac]
mov dword [esp + 0x48], ecx
mov ecx, dword [0x45c79c]
mov dword [esp + 0x60], edx
mov edx, dword [0x45c794]
mov dword [esp + 0x64], eax
mov eax, dword [0x45c798]
mov dword [esp + 0x54], ecx
push 0xffffff
lea ecx, [esp + 0x2c]
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], eax
call sub.MFC42.DLL_CBrush::CBrush
push 0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x84], 0
call sub.MFC42.DLL_CBrush::CBrush
mov ebx, dword [sym.imp.GRBase.dll_public:_unsigned_long_int___thiscall_CGoRunSoftware::CBColor::ImgColor::RgbCol_int_const]
push 0
mov ecx, 0x45c754
mov byte [esp + 0x84], 1
call ebx
push eax
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CBrush::CBrush
push 0
mov ecx, 0x45c750
mov byte [esp + 0x84], 2
call ebx
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CBrush::CBrush
mov edx, dword [0x45304c]
mov ecx, edi
push edx
push esi
mov byte [esp + 0x88], 3
call fcn.00430310
mov ebp, dword [esp + 0x1c]
lea eax, [esp + 0x18]
neg eax
mov ebx, dword [sym.imp.USER32.dll_FrameRect]
sbb eax, eax
and eax, ebp
push eax
mov eax, dword [esi + 4]
push 0x45c790
push eax
call ebx
mov ebp, dword [sym.imp.USER32.dll_InflateRect]
push 0xffffffffffffffff
lea ecx, [esp + 0x4c]
push 0xffffffffffffffff
push ecx
call ebp
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x28]
neg eax
sbb eax, eax
and eax, edx
lea edx, [esp + 0x48]
push eax
mov eax, dword [esi + 4]
push edx
push eax
call ebx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x10]
neg eax
sbb eax, eax
lea ecx, [esp + 0x48]
and eax, edx
mov edx, dword [esi + 4]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_FillRect]
push 0x45c750
push 0x45c790
push esi
mov ecx, edi
call fcn.00430210
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x18]
neg eax
sbb eax, eax
and eax, edx
push eax
mov eax, dword [esi + 4]
push 0x45c7a0
push eax
call ebx
push 0xffffffffffffffff
lea ecx, [esp + 0x5c]
push 0xffffffffffffffff
push ecx
call ebp
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x28]
neg eax
sbb eax, eax
and eax, edx
lea edx, [esp + 0x58]
push eax
mov eax, dword [esi + 4]
push edx
push eax
call ebx
mov ebp, dword [esp + 0x24]
lea eax, [esp + 0x20]
mov edx, dword [esi + 4]
lea ecx, [esp + 0x58]
neg eax
sbb eax, eax
and eax, ebp
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_FillRect]
push esi
mov ecx, edi
call fcn.004300b0
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CGdiObject::DeleteObject
push 0x45c754
push 0x45c7a0
push esi
mov ecx, edi
call fcn.00430210
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov eax, dword [esi + 4]
mov ecx, dword [edi + 0x20]
push eax
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov esi, 0x43bb90
mov dword [esp + 0x10], esi
mov byte [esp + 0x80], 4
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ebx, 0x43bb7c
mov dword [esp + 0x20], esi
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0x20]
mov byte [esp + 0x80], 5
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], esi
lea ecx, [esp + 0x18]
mov byte [esp + 0x80], 6
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x18], ebx
mov dword [esp + 0x28], esi
lea ecx, [esp + 0x28]
mov dword [esp + 0x80], 7
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x80], 0xffffffff
test edi, edi
jne 0x430861
xor eax, eax
jmp 0x430864
mov eax, dword [edi + 0x20]
lea ecx, [esp + 0x88]
mov dword [esp + 0x88], eax
call dword [sym.imp.GRBase.dll_public:_bool___thiscall_CGoRunSoftware::CGRWnd::Visible_void_const]
test al, al
je 0x430942
mov edx, dword [sym.imp.ImageDll.dll_long_int_CDlgGrid::dGridSnap]
push 0
push 0
push 0x20000078
fild dword [edx]
sub esp, 8
fstp qword [esp]
call dword [sym.imp.GRBase.dll_double___cdecl_CGoRunSoftware::Pixel2Param_double__unsigned_long_int__double_]
fadd qword [0x43bbe0]
add esp, 0xc
fstp qword [esp]
call dword [sym.imp.MSVCRT.dll_floor]
add esp, 8
call sub.MSVCRT.dll__ftol
push 1
push 0
push 0x14
mov ecx, edi
mov esi, eax
call sub.MFC42.DLL_CWnd::GetDlgItemInt
mov ecx, dword [0x453050]
mov dword [esp + 0x88], eax
cmp ecx, esi
je 0x4308e2
push 1
mov dword [0x453050], esi
push esi
jmp 0x430939
cmp eax, ecx
je 0x430942
test eax, eax
jl 0x430936
cmp eax, 0x400
jge 0x430936
fild dword [esp + 0x88]
push 0
push 0
push 0x20000078
mov dword [0x453050], eax
sub esp, 8
fstp qword [esp]
call dword [sym.imp.GRBase.dll_double___cdecl_CGoRunSoftware::Param2Pixel_double__unsigned_long_int__double_]
fadd qword [0x43bbe0]
add esp, 0xc
fstp qword [esp]
call dword [sym.imp.MSVCRT.dll_floor]
add esp, 8
call sub.MSVCRT.dll__ftol
mov ecx, dword [sym.imp.ImageDll.dll_long_int_CDlgGrid::dGridSnap]
mov dword [ecx], eax
jmp 0x430942
push 1
push ecx
push 0x14
mov ecx, edi
call sub.MFC42.DLL_CWnd::SetDlgItemInt
mov eax, dword [edi + 0x20]
lea edx, [esp + 0x68]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
sub ecx, 4
sub eax, 4
push ecx
lea edx, [esp + 0x6c]
push eax
push edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4309d6
lea ecx, [esp + 0x68]
call fcn.00430a10
mov ecx, dword [eax + 4]
push ecx
lea ecx, [esp + 0x34]
mov edx, dword [eax]
lea eax, [esp + 0x3c]
push edx
push eax
call fcn.004309f0
mov esi, dword [eax]
push 1
mov ebx, dword [eax + 4]
call dword [sym.imp.USER32.dll_GetKeyState]
and eax, 0x8000
push eax
sub esp, 8
mov ecx, esp
mov dword [esp + 0x94], esp
push ebx
push esi
call fcn.0040ad90
mov ecx, edi
call fcn.00430ce0
push eax
mov ecx, edi
call fcn.00430bd0
mov ecx, dword [esp + 0x78]
pop edi
pop esi
pop ebp
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0x74
ret 4