Function at 0x410140
Capabilities:
Hide graphical window
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47df06
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4ac084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x4b04a8]
test eax, eax
je 0x4104ed
mov esi, dword [ecx + 0x1a8]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
cmp dword [esi + 0x50], 0
je 0x4101a8
push 0
push 0xaa
push 0x4ec
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [0x4b04a8]
test eax, eax
je 0x41050c
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004225c0
mov eax, dword [ebp - 0x10]
cmp eax, 0x82
jne 0x410209
push 0x1ac
call fcn.0045923a
add esp, 4
mov dword [ebp - 0x14], eax
push esi
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00425a40
mov edi, eax
push edi
push 0x41ebe0
push dword [esi + 4]
push 0x82
push dword [0x4b0494]
call dword [sym.imp.USER32.dll_CreateDialogParamW]
jmp 0x41049b
cmp eax, 0xa3
jne 0x410250
push 0x1ac
call fcn.0045923a
add esp, 4
mov dword [ebp - 0x14], eax
push esi
mov ecx, eax
mov dword [ebp - 4], 1
call fcn.00413060
mov edi, eax
push edi
push 0x41ebe0
push dword [esi + 4]
push 0xa3
push dword [0x4b0494]
call dword [sym.imp.USER32.dll_CreateDialogParamW]
jmp 0x41049b
cmp eax, 0x443
jne 0x410294
push 0x184
call fcn.0045923a
mov dword [ebp - 0x14], eax
push esi
mov ecx, eax
mov dword [ebp - 4], 2
call fcn.00407c70
mov edi, eax
push edi
push 0x41ebe0
push dword [esi + 4]
push 0x443
push dword [0x4b0494]
call dword [sym.imp.USER32.dll_CreateDialogParamW]
jmp 0x41049b
cmp eax, 0x467
jne 0x4102d8
push 0x184
call fcn.0045923a
mov dword [ebp - 0x14], eax
push esi
mov ecx, eax
mov dword [ebp - 4], 3
call fcn.004040c0
mov edi, eax
push edi
push 0x41ebe0
push dword [esi + 4]
push 0x467
push dword [0x4b0494]
call dword [sym.imp.USER32.dll_CreateDialogParamW]
jmp 0x41049b
cmp eax, 0x88
jne 0x410327
push 0x208
call fcn.0045923a
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 4
mov ecx, eax
push dword [ebp - 0x14]
push 0xaa
push esi
call fcn.00421180
mov edi, eax
push edi
push 0x41ebe0
push dword [esi + 4]
push 0x88
push dword [0x4b0494]
call dword [sym.imp.USER32.dll_CreateDialogParamW]
jmp 0x41049b
cmp eax, 0x84
jne 0x41037e
push 0x2d0
call fcn.0045923a
add esp, 4
mov dword [ebp - 0x14], eax
mov ecx, eax
mov dword [ebp - 4], 5
call fcn.00420260
mov dword [ebp - 4], 0xffffffff
mov edi, eax
push dword [esi + 4]
mov ecx, edi
push 0x84
call fcn.0041eb90
mov ecx, dword [esi + 0x3c]
lea eax, [esi + 0x2c]
push 1
push eax
mov dword [esi + 0x40], 1
call fcn.0042ccd0
jmp 0x41049b
cmp eax, 0x85
jne 0x4103b8
push 0x1ac
mov dword [esi + 0x44], 1
call fcn.0045923a
add esp, 4
mov dword [ebp - 0x14], eax
push esi
mov ecx, eax
mov dword [ebp - 4], 6
call fcn.0041f690
push dword [esi + 4]
push 0x85
jmp 0x410492
cmp eax, 0xaa
jne 0x4103f2
push 0x1ac
mov dword [esi + 0x44], 1
call fcn.0045923a
add esp, 4
mov dword [ebp - 0x14], eax
push esi
mov ecx, eax
mov dword [ebp - 4], 7
call fcn.0040fbc0
push dword [esi + 4]
push 0xaa
jmp 0x410492
cmp eax, 0x86
jne 0x410422
push 0x330
call fcn.0045923a
add esp, 4
mov dword [ebp - 0x14], eax
push esi
mov ecx, eax
mov dword [ebp - 4], 8
call fcn.00424c50
push dword [esi + 4]
push 0x86
jmp 0x410492
cmp eax, 0x9a
jne 0x410459
push 0x238
mov dword [esi + 0x44], 1
call fcn.0045923a
add esp, 4
mov dword [ebp - 0x14], eax
push esi
mov ecx, eax
mov dword [ebp - 4], 9
call fcn.00412300
push dword [esi + 4]
push 0x9a
jmp 0x410492
cmp eax, 0xac
jne 0x41050c
push 0x224
mov dword [esi + 0x44], 1
call fcn.0045923a
add esp, 4
mov dword [ebp - 0x14], eax
push esi
mov ecx, eax
mov dword [ebp - 4], 0xa
call fcn.00410520
push dword [esi + 4]
push 0xac
mov edi, eax
mov ecx, edi
call fcn.0041eb90
test edi, edi
je 0x41050c
push 5
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x50]
test eax, eax
je 0x4104bc
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x50]
test eax, eax
je 0x4104d9
push dword [eax + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x4104d9
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 0x50], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ecx + 0x1a8]
push 0x11
mov esi, dword [eax + 4]
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xe
and eax, 2
push eax
push esi
call dword [sym.imp.USER32.dll_EndDialog]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret