Function at 0x412830
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x26c
xor ecx, ecx
push ebx
mov ebx, dword [esp + 0x274]
push ebp
mov ebp, dword [esp + 0x280]
mov eax, dword [ebx + 0x6c]
push esi
mov esi, dword [esp + 0x288]
push edi
mov edi, dword [esp + 0x290]
cmp eax, ecx
je 0x412a66
cmp ebp, 0x5c20
ja 0x4128d4
je 0x4128b9
cmp ebp, 7
je 0x4128ad
cmp ebp, 0x14
je 0x412c17
cmp ebp, 0xbd3
jne 0x412a66
cmp esi, 1
jne 0x412d3c
cmp edi, 2
jne 0x412d3c
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x28]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x26c
ret 0x14
mov ecx, ebx
call fcn.00413bb0
jmp 0x412a83
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x28]
test eax, eax
je 0x412d3c
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x58]
jmp 0x412d3c
cmp ebp, 0x5c23
je 0x4128f4
cmp ebp, 0x6789
jne 0x412a66
mov ecx, ebx
call fcn.00413ad0
jmp 0x412d3c
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x28]
test eax, eax
je 0x412d3c
mov eax, dword [0x6159d8]
test eax, eax
jne 0x412d3c
mov eax, dword [esp + 0x284]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
test edi, edi
mov dword [esp + 0x1c], edi
je 0x412d3c
push 1
push 1
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov esi, eax
test esi, esi
mov dword [esp + 0x24], esi
je 0x412a4b
push esi
call fcn.004913c0
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x412a3d
mov edx, dword [ebx + 4]
lea ecx, [esp + 0x28]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
xor edx, edx
push 0
mov dx, word [ebp + 0xe]
mov ecx, dword [esp + 0x34]
shr edx, 3
imul edx, ecx
mov eax, dword [esp + 0x38]
push 0
imul edx, eax
mov dword [ebp + 8], eax
lea eax, [esp + 0x20]
push eax
push 0
push ebp
push edi
mov dword [ebp + 4], ecx
mov dword [ebp + 0x14], edx
mov dword [esp + 0x30], 0
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov esi, eax
test esi, esi
mov dword [esp + 0x10], esi
je 0x412a32
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
test eax, eax
mov dword [esp + 0x14], eax
je 0x412a2b
mov ecx, esi
mov esi, eax
push ecx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [ebx + 4]
push 0
push esi
push edx
mov dword [esp + 0x2c], eax
call fcn.004bbda0
mov eax, dword [esp + 0x24]
mov ecx, 0xb
mov esi, ebp
lea edi, [esp + 0x4c]
add esp, 0xc
lea edx, [esp + 0x38]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0x14]
push 0x3c
push 1
mov dword [esp + 0x78], ecx
push edx
push 0x5f
mov ecx, ebx
mov dword [esp + 0x7c], eax
call fcn.004138c0
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x14]
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x1c]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
push ebp
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov esi, dword [esp + 0x24]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ebp, dword [esp + 0x288]
mov ecx, dword [esp + 0x284]
push edi
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov esi, dword [esp + 0x28c]
jmp 0x412d3c
cmp ebp, 0x210
ja 0x412c7b
je 0x412c29
cmp ebp, 0x21
ja 0x412bba
je 0x412af0
mov eax, ebp
dec eax
je 0x412ae2
sub eax, 4
je 0x412ac8
sub eax, 0xb
jne 0x412d3c
mov eax, dword [ebx + 0x6c]
test eax, eax
je 0x412f52
push 1
push 0
mov ecx, ebx
call fcn.00413c60
push 0
push 0
push 0x12
mov ecx, ebx
call fcn.00413800
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x26c
ret 0x14
mov edx, dword [ebx]
mov eax, edi
shr eax, 0x10
and edi, 0xffff
push eax
push edi
push esi
mov ecx, ebx
call dword [edx + 0x38]
jmp 0x412f52
push ebx
lea ecx, [ebx + 0x74]
call fcn.004c0be0
jmp 0x412f52
cmp eax, ecx
je 0x412f52
mov eax, dword [ebx + 0x5c]
mov ebp, 1
cmp eax, ebp
je 0x412f52
mov ecx, dword [ebx + 4]
push ecx
mov ecx, ebx
call fcn.00413c20
test eax, eax
jne 0x412f52
mov eax, dword [0x5de220]
test eax, eax
je 0x412ba0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x76]
mov word [esp + 0x74], 0
lea edx, [esp + 0x74]
rep stosd dword es:[edi], eax
push 0x104
push edx
push esi
stosw word es:[edi], ax
call dword [sym.imp.USER32.dll_GetClassNameW]
lea eax, [esp + 0x74]
push str.DV2ControlHost
push eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x412ba0
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x412ba0
push 0
push 0x1b
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
mov esi, dword [sym.imp.USER32.dll_keybd_event]
mov edi, eax
push 0
push 0
push edi
push 0x1b
call esi
push 0
push 2
push edi
push 0x1b
call esi
mov ecx, ebx
call fcn.00413cc0
mov ecx, dword [ebx + 4]
push 0
push ebx
push 0xbd1
push ecx
mov dword [ebx + 0x5c], ebp
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x412f52
mov eax, ebp
sub eax, 0x111
je 0x412bf8
sub eax, 2
jne 0x412d3c
cmp esi, 0x3000
jne 0x412beb
mov edx, dword [ebx + 4]
push esi
push edx
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, ebx
call fcn.00413cc0
jmp 0x412f52
mov eax, dword [ebx]
push esi
mov ecx, ebx
call dword [eax + 0x34]
jmp 0x412f52
mov ecx, dword [esp + 0x290]
mov edx, dword [esp + 0x28c]
mov eax, dword [ebx + 0x28]
push ecx
push edx
push 0x111
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x26c
ret 0x14
mov eax, esi
and eax, 0xffff
sub eax, 2
je 0x412c50
sub eax, 0x1ff
jne 0x412f52
push 0x6159c0
call dword [sym.imp.USER32.dll_GetCursorPos]
jmp 0x412f52
mov edx, dword [ebx]
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], ecx
push edi
push esi
mov ecx, ebx
call dword [edx + 0x3c]
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x412f52
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x26c
ret 0x14
cmp ebp, 0xbd2
ja 0x412d24
je 0x412d17
mov eax, ebp
sub eax, 0x319
je 0x412cf4
sub eax, 0x8b7
je 0x412ce8
dec eax
jne 0x412d3c
cmp esi, ebx
jne 0x412f52
mov dword [ebx + 0x5c], ecx
mov ecx, dword [ebx + 0x2c]
push ecx
mov ecx, ebx
call fcn.00413c20
test eax, eax
jne 0x412cdc
push 1
push 1
mov ecx, ebx
call fcn.00413c60
mov edx, dword [ebx + 4]
push 0
push 0x64
push 0x3000
push edx
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, ebx
call fcn.00413b60
jmp 0x412f52
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 8]
jmp 0x412f52
mov edx, dword [ebx]
push edi
push esi
mov ecx, ebx
call dword [edx + 0x30]
test eax, eax
je 0x412f52
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x26c
ret 0x14
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x18]
jmp 0x412f52
cmp ebp, 0x4400
je 0x412f3c
cmp ebp, 0x5678
je 0x412f29
mov eax, dword [ebx + 0x58]
test eax, eax
jne 0x412f52
mov eax, dword [0x560f14]
mov edi, dword [sym.imp.USER32.dll_RegisterWindowMessageW]
test eax, eax
jne 0x412d6d
push str.PhoenixStudioTaiHang_Simple_Message
call edi
push 1
push eax
mov dword [0x560f14], eax
call fcn.004bbe00
add esp, 8
cmp dword [0x560f14], ebp
je 0x412f01
mov eax, dword [0x560f18]
test eax, eax
jne 0x412d99
push str.PhoenixStudioTaiHang_Struct_Message
call edi
push 1
push eax
mov dword [0x560f18], eax
call fcn.004bbe00
add esp, 8
cmp dword [0x560f18], ebp
je 0x412f01
mov eax, dword [0x560f20]
test eax, eax
jne 0x412dc5
push str.PhoenixStudioTaiHang_Struct_Message_Direct
call edi
push 1
push eax
mov dword [0x560f20], eax
call fcn.004bbe00
add esp, 8
cmp dword [0x560f20], ebp
jne 0x412e53
mov eax, dword [ebx + 0x68]
test eax, eax
je 0x412e26
mov eax, dword [0x560f18]
test eax, eax
jne 0x412df8
push str.PhoenixStudioTaiHang_Struct_Message
call edi
push 1
push eax
mov dword [0x560f18], eax
call fcn.004bbe00
add esp, 8
mov ecx, dword [esp + 0x290]
mov edx, dword [0x560f18]
mov eax, dword [esp + 0x284]
push ecx
push esi
push edx
push eax
mov ecx, ebx
call fcn.00412f90
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x26c
ret 0x14
mov eax, dword [esp + 0x290]
mov edx, dword [ebx]
push eax
push esi
mov ecx, ebx
mov dword [ebx + 0x68], 1
call dword [edx + 0x44]
pop edi
pop esi
mov dword [ebx + 0x68], 0
pop ebp
xor eax, eax
pop ebx
add esp, 0x26c
ret 0x14
mov eax, dword [0x560f1c]
test eax, eax
jne 0x412e73
push str.PhoenixStudioTaiHang_Direct_Simple_Message
call edi
push 1
push eax
mov dword [0x560f1c], eax
call fcn.004bbe00
add esp, 8
cmp dword [0x560f1c], ebp
jne 0x412f52
mov eax, dword [ebx + 0x64]
test eax, eax
je 0x412ed4
mov eax, dword [0x560f14]
test eax, eax
jne 0x412ea6
push str.PhoenixStudioTaiHang_Simple_Message
call edi
push 1
push eax
mov dword [0x560f14], eax
call fcn.004bbe00
add esp, 8
mov ecx, dword [esp + 0x290]
mov edx, dword [0x560f14]
mov eax, dword [esp + 0x284]
push ecx
push esi
push edx
push eax
mov ecx, ebx
call fcn.00412f90
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x26c
ret 0x14
mov eax, dword [esp + 0x290]
mov edx, dword [ebx]
push eax
push esi
mov ecx, ebx
mov dword [ebx + 0x64], 1
call dword [edx + 0x40]
pop edi
pop esi
mov dword [ebx + 0x64], 0
pop ebp
xor eax, eax
pop ebx
add esp, 0x26c
ret 0x14
mov ecx, dword [esp + 0x290]
mov edx, dword [esp + 0x284]
push ecx
push esi
push ebp
push edx
mov ecx, ebx
call fcn.00412f90
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x26c
ret 0x14
cmp esi, 1
jne 0x412f52
cmp edi, 2
jne 0x412f52
mov ecx, ebx
call fcn.00413220
jmp 0x412f52
mov eax, dword [esp + 0x284]
neg esi
sbb esi, esi
and esi, 5
push esi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esp + 0x290]
mov edx, dword [esp + 0x28c]
mov eax, dword [esp + 0x288]
push ecx
mov ecx, dword [esp + 0x288]
push edx
push eax
push ecx
call dword [sym.imp.USER32.dll_DefWindowProcW]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x26c
ret 0x14