Function at 0x404550
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x428
mov eax, dword [esp + 0x430]
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov esi, dword [ebp + 4]
mov dword [esp + 0x18], ebp
cmp eax, esi
jb 0x404d5a
mov edx, dword [ebp + 8]
cmp eax, edx
jae 0x404d5a
mov ecx, eax
add eax, 2
sub ecx, esi
cmp eax, edx
mov dword [esp + 0x1c], ecx
jae 0x404d5a
mov esi, dword [esp + 0x43c]
mov edi, dword [sym.imp.user32.dll_GetAsyncKeyState]
push 0x11
call edi
test ax, ax
jge 0x4045b3
push 0x7b
call edi
test ax, ax
jl 0x404d5a
mov eax, dword [esp + 0x1c]
mov edx, dword [ebp + 4]
mov ebx, eax
mov dword [esp + 0x14], eax
push 0
lea eax, [esp + 0x18]
push 1
add ebx, edx
push eax
push esi
mov dword [esp + 0x450], ebx
call fcn.004025e0
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x4045ea
inc dword [esp + 0x1c]
jmp 0x404d4c
mov eax, dword [esp + 0x14]
push 1
inc eax
mov dword [esp + 0x18], eax
mov ecx, dword [edi + 8]
mov dl, byte [esi + eax + 1]
mov al, byte [eax + esi]
push ecx
mov ecx, dword [edi + 0x14]
push edx
push eax
push ecx
call fcn.004024c0
mov edx, dword [edi + 8]
mov bl, al
mov eax, dword [esp + 0x28]
push 1
push edx
and ebx, 0xff
mov cl, byte [esi + eax + 1]
mov dl, byte [eax + esi]
mov eax, dword [edi + 0x10]
push ecx
push edx
push eax
call fcn.004024c0
mov ecx, dword [edi + 8]
and eax, 0xff
add ebx, eax
mov eax, dword [esp + 0x3c]
push 1
push ecx
mov dl, byte [esi + eax + 1]
mov al, byte [eax + esi]
mov ecx, dword [edi + 0xc]
push edx
push eax
push ecx
call fcn.004024c0
and eax, 0xff
add esp, 0x3c
add ebx, eax
mov eax, dword [edi + 0xc]
add eax, 0xfffffffe
mov dword [esp + 0x34], ebx
cmp eax, 0x45
mov dword [esp + 0x1c], 0
ja case.0x40467f.9
xor edx, edx
mov dl, byte [eax + 0x404d88]
jmp dword [edx*4 + 0x404d68]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x1c], 1
add esi, eax
xor ebx, ebx
mov eax, esi
mov bl, byte [esi]
mov dword [esp + 0x10], eax
mov esi, 1
jmp 0x404805
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x1c], 1
mov ebx, dword [ecx + esi]
lea eax, [ecx + esi]
mov dword [esp + 0x10], eax
mov esi, 4
jmp 0x404805
mov edx, dword [esp + 0x14]
add esi, edx
xor ebx, ebx
mov eax, esi
mov bl, byte [esi]
mov dword [esp + 0x10], eax
mov esi, 1
jmp 0x404805
mov eax, dword [esp + 0x14]
add esi, eax
xor ebx, ebx
mov eax, esi
mov bx, word [esi]
mov dword [esp + 0x10], eax
mov esi, 2
jmp 0x404805
mov ecx, dword [esp + 0x14]
add esi, ecx
mov eax, esi
mov ebx, dword [esi]
mov dword [esp + 0x10], eax
mov esi, 4
jmp 0x404805
mov edx, dword [esp + 0x14]
mov ebx, dword [esi + edx + 1]
lea esi, [esi + edx + 1]
mov eax, esi
mov esi, 4
mov dword [esp + 0x10], eax
jmp 0x404805
mov eax, dword [esp + 0x14]
add esi, eax
mov eax, esi
mov ebx, dword [esi]
mov dword [esp + 0x10], eax
mov esi, 4
jmp 0x404805
mov eax, dword [edi + 0x10]
add eax, 0xfffffffe
cmp eax, 0x45
ja case.0x404760.9
xor ecx, ecx
mov cl, byte [eax + 0x404df0]
jmp dword [ecx*4 + 0x404dd0]
mov edx, dword [esp + 0x43c]
mov eax, dword [esp + 0x14]
add eax, edx
xor ebx, ebx
mov esi, 1
mov bl, byte [eax]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x10], eax
jmp 0x404801
mov dword [esp + 0x1c], 1
mov ecx, dword [esp + 0x43c]
mov edx, dword [esp + 0x14]
lea eax, [edx + ecx]
jmp 0x4047f6
mov eax, dword [esp + 0x43c]
mov ecx, dword [esp + 0x14]
add eax, ecx
xor ebx, ebx
mov esi, 1
mov bl, byte [eax]
mov dword [esp + 0x10], eax
jmp 0x404801
mov edx, dword [esp + 0x43c]
mov eax, dword [esp + 0x14]
add eax, edx
xor ebx, ebx
mov esi, 2
mov bx, word [eax]
mov dword [esp + 0x10], eax
jmp 0x404801
mov eax, dword [esp + 0x43c]
mov ecx, dword [esp + 0x14]
lea eax, [eax + ecx + 1]
jmp 0x4047f6
mov edx, dword [esp + 0x43c]
mov eax, dword [esp + 0x14]
add eax, edx
mov ebx, dword [eax]
mov dword [esp + 0x10], eax
mov esi, 4
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, ebx
test edx, edx
mov dword [esp + 0x30], ecx
je 0x404822
mov ecx, dword [esp + 0x440]
lea ecx, [ebx + ecx + 5]
mov dword [esp + 0x30], ecx
cmp ecx, dword [ebp + 4]
jb 0x404940
cmp ecx, dword [ebp + 8]
jae 0x404940
test edx, edx
jne case.0x404760.9
mov ebp, dword [esp + 0x18]
xor ecx, ecx
mov dword [esp + 0x20], ecx
lea edx, [ebp + 0x34]
mov dword [esp + 0x1c], edx
mov edx, dword [edx + 4]
mov dword [esp + 0x28], edx
test edx, edx
je 0x404881
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx + 8]
sub ecx, edx
sar ecx, 2
mov edx, ecx
mov ecx, dword [esp + 0x20]
cmp ecx, edx
jae 0x404881
mov edx, dword [ebp + 0x38]
cmp dword [edx + ecx*4], eax
je 0x404881
mov edx, dword [esp + 0x28]
inc ecx
mov dword [esp + 0x20], ecx
jmp 0x404854
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 4]
test eax, eax
je 0x4048a0
mov edx, dword [edx + 8]
sub edx, eax
sar edx, 2
cmp ecx, edx
jb case.0x404760.9
mov ebp, dword [esp + 0x18]
mov ecx, dword [ebp + 0x28]
mov edx, dword [esp + 0x440]
mov eax, ebx
sub eax, ecx
mov ecx, dword [edi]
push eax
push ebx
push ecx
push edx
lea eax, [esp + 0x48]
push 0x460dd4
push eax
call fcn.0043367e
mov edx, dword [ebp + 0x24]
add esp, 0x18
lea ecx, [esp + 0x38]
mov eax, dword [edx + 0x1c]
push ecx
push 0
push 0x180
push eax
call dword [sym.imp.user32.dll_SendMessageA]
mov ecx, dword [ebp + 0x20]
push 0
push 1
push 0x115
push 0x3ec
push ecx
call dword [sym.imp.user32.dll_SendDlgItemMessageA]
dec esi
je 0x40491c
dec esi
je 0x40490f
sub esi, 2
jne 0x404927
mov eax, dword [ebp + 0x28]
mov edx, dword [esp + 0x10]
sub ebx, eax
mov dword [edx], ebx
jmp 0x404927
sub bx, word [ebp + 0x28]
mov eax, dword [esp + 0x10]
mov word [eax], bx
jmp 0x404927
mov al, byte [ebp + 0x28]
mov ecx, dword [esp + 0x10]
sub bl, al
mov byte [ecx], bl
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x10]
push edx
push 1
mov eax, dword [ecx + 8]
push eax
call fcn.00406010
jmp case.0x404760.9
mov ecx, dword [ebp + 0x30]
mov dword [esp + 0x20], 0
call fcn.0042a4f0
mov edx, dword [eax + 4]
mov dword [esp + 0x2c], eax
xor ecx, ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], edx
test edx, edx
je 0x4049a3
mov eax, dword [eax + 8]
sub eax, edx
sar eax, 4
cmp ecx, eax
jae 0x4049a3
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
cmp edx, dword [eax]
jb 0x404982
cmp edx, dword [eax + 4]
jb 0x404994
mov edx, dword [esp + 0x24]
inc ecx
add eax, 0x10
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x2c]
jmp 0x404961
mov edx, dword [esp + 0x24]
shl ecx, 4
mov eax, dword [ecx + edx + 8]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x404c55
mov ecx, dword [esp + 0x18]
xor eax, eax
lea ebp, [ecx + 0x34]
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x4049de
mov edx, dword [ebp + 8]
sub edx, ecx
sar edx, 2
cmp eax, edx
jae 0x4049de
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0x38]
mov ecx, dword [esp + 0x10]
cmp dword [edx + eax*4], ecx
je 0x4049de
inc eax
jmp 0x4049b8
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x4049f5
mov edx, dword [ebp + 8]
sub edx, ecx
sar edx, 2
cmp eax, edx
jb case.0x404760.9
mov ecx, dword [esp + 0x18]
mov eax, ebx
mov edx, dword [ecx + 0x28]
lea ecx, [esp + 0x38]
sub eax, edx
mov edx, dword [esp + 0x20]
sub eax, edx
mov edx, dword [edi]
push eax
mov eax, dword [esp + 0x444]
push ebx
push edx
push eax
push 0x460d54
push ecx
call fcn.0043367e
mov edi, dword [esp + 0x30]
add esp, 0x18
lea edx, [esp + 0x38]
mov eax, dword [edi + 0x24]
push edx
push 0
push 0x180
mov ecx, dword [eax + 0x1c]
push ecx
call dword [sym.imp.user32.dll_SendMessageA]
mov edx, dword [edi + 0x20]
push 0
push 1
push 0x115
push 0x3ec
push edx
call dword [sym.imp.user32.dll_SendDlgItemMessageA]
dec esi
je 0x404a92
dec esi
je 0x404a7a
sub esi, 2
jne 0x404aa7
mov edx, dword [esp + 0x20]
mov eax, edi
mov ecx, dword [eax + 0x28]
sub ecx, edx
mov edx, dword [esp + 0x10]
add ecx, ebx
mov dword [edx], ecx
jmp 0x404aa7
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov cx, word [eax + 0x28]
sub cx, word [esp + 0x20]
add ecx, ebx
mov word [edx], cx
jmp 0x404aa7
mov eax, dword [esp + 0x18]
mov dl, byte [esp + 0x20]
mov cl, byte [eax + 0x28]
sub cl, dl
mov edx, dword [esp + 0x10]
add cl, bl
mov byte [edx], cl
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
sub eax, edi
mov esi, edi
sar eax, 2
cmp eax, 1
jae 0x404b98
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x404ad0
mov eax, edi
sub eax, ecx
sar eax, 2
cmp eax, 1
ja 0x404ad5
mov eax, 1
test ecx, ecx
jne 0x404add
xor edi, edi
jmp 0x404ae2
sub edi, ecx
sar edi, 2
add eax, edi
test eax, eax
mov dword [esp + 0x24], eax
jge 0x404aee
xor eax, eax
lea ecx, [eax*4]
push ecx
call fcn.00442732
mov edi, dword [ebp + 4]
add esp, 4
cmp edi, esi
mov dword [esp + 0x2c], eax
mov ebx, eax
je 0x404b1f
push edi
push ebx
call fcn.00406290
add edi, 4
add esp, 8
add ebx, 4
cmp edi, esi
jne 0x404b0b
lea edx, [esp + 0x10]
push edx
push ebx
call fcn.00406290
mov edi, dword [ebp + 8]
add esp, 8
add ebx, 4
cmp esi, edi
je 0x404b4b
push esi
push ebx
call fcn.00406290
add esi, 4
add esp, 8
add ebx, 4
cmp esi, edi
jne 0x404b37
mov eax, dword [ebp + 4]
push eax
mov dword [esp + 0x2c], eax
call fcn.0044275b
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
add esp, 4
lea ecx, [edx + eax*4]
mov dword [ebp + 0xc], ecx
mov ecx, dword [ebp + 4]
test ecx, ecx
jne 0x404b81
xor eax, eax
mov dword [ebp + 4], edx
lea eax, [edx + eax*4 + 4]
mov dword [ebp + 8], eax
jmp case.0x404760.9
mov eax, dword [ebp + 8]
mov dword [ebp + 4], edx
sub eax, ecx
sar eax, 2
lea eax, [edx + eax*4 + 4]
mov dword [ebp + 8], eax
jmp case.0x404760.9
mov eax, edi
sub eax, esi
sar eax, 2
cmp eax, 1
jae 0x404c0e
lea ecx, [esi + 4]
cmp esi, edi
mov dword [esp + 0x2c], ecx
mov eax, esi
je 0x404bc4
lea ebx, [eax + 4]
push eax
push ebx
call fcn.00406290
mov eax, ebx
add esp, 8
cmp eax, edi
jne 0x404bb1
mov ecx, dword [ebp + 8]
mov eax, 1
mov edx, ecx
mov edi, ecx
sub edx, esi
sar edx, 2
sub eax, edx
je 0x404bef
mov ebx, eax
lea eax, [esp + 0x10]
push eax
push edi
call fcn.00406290
add esp, 8
add edi, 4
dec ebx
jne 0x404bdb
mov ecx, dword [ebp + 8]
mov eax, esi
cmp esi, ecx
je 0x404c05
mov edx, dword [esp + 0x10]
mov dword [eax], edx
add eax, 4
cmp eax, ecx
jne 0x404bf8
add dword [ebp + 8], 4
jmp case.0x404760.9
lea eax, [edi - 4]
push edi
push edi
push eax
mov ecx, ebp
mov dword [esp + 0x38], eax
call fcn.00406220
mov ecx, dword [ebp + 8]
lea eax, [ecx - 4]
cmp esi, eax
je 0x404c38
mov edx, dword [eax - 4]
sub eax, 4
sub ecx, 4
cmp eax, esi
mov dword [ecx], edx
jne 0x404c29
lea eax, [esi + 4]
cmp esi, eax
je 0x404c4c
mov ecx, dword [esp + 0x10]
mov dword [esi], ecx
add esi, 4
cmp esi, eax
jne 0x404c3f
add dword [ebp + 8], 4
jmp case.0x404760.9
mov eax, dword [esp + 0x20]
test eax, eax
je 0x404d02
mov ecx, dword [ebp + 0x28]
mov edx, ebx
sub edx, ecx
mov ecx, dword [esp + 0x440]
sub edx, eax
mov eax, dword [edi]
push edx
push ebx
push eax
push ecx
lea edx, [esp + 0x48]
push 0x460dd4
push edx
call fcn.0043367e
mov ecx, dword [ebp + 0x24]
add esp, 0x18
lea eax, [esp + 0x38]
mov edx, dword [ecx + 0x1c]
push eax
push 0
push 0x180
push edx
call dword [sym.imp.user32.dll_SendMessageA]
mov eax, dword [ebp + 0x20]
push 0
push 1
push 0x115
push 0x3ec
push eax
call dword [sym.imp.user32.dll_SendDlgItemMessageA]
dec esi
je 0x404cef
dec esi
je 0x404cdc
sub esi, 2
jne case.0x404760.9
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
mov edx, dword [ecx + 0x28]
sub ebx, edx
mov edx, dword [esp + 0x10]
sub ebx, eax
mov dword [edx], ebx
jmp case.0x404760.9
sub bx, word [ebp + 0x28]
mov eax, dword [esp + 0x20]
sub ebx, eax
mov eax, dword [esp + 0x10]
mov word [eax], bx
jmp case.0x404760.9
mov cl, byte [ebp + 0x28]
mov al, byte [esp + 0x20]
sub bl, cl
mov ecx, dword [esp + 0x10]
sub bl, al
mov byte [ecx], bl
jmp case.0x404760.9
mov edx, dword [ebp + 0x2c]
mov ecx, dword [esp + 0x440]
push ebx
mov dword [edx], 1
mov eax, dword [edi]
mov edx, dword [esp + 0x448]
push eax
push ecx
push 0x460e0c
push edx
call fcn.004339f7
add esp, 0x14
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x43c]
mov ebx, dword [esp + 0x440]
add eax, ecx
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 8]
add ebx, 2
cmp ebx, eax
jb 0x404597
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x428
ret 0xc