Function at 0x461fc0
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [0x61387c]
sub esp, 0x70
test eax, eax
je 0x462c8a
mov ecx, dword [esp + 0x74]
push ebx
push ebp
push esi
push edi
push 0
lea eax, [esp + 0x74]
push eax
push ecx
call fcn.00584d10
mov ebx, eax
add esp, 0xc
test ebx, ebx
mov dword [esp + 0x38], ebx
je 0x462c86
mov eax, dword [ebx + 0x6cc]
test eax, eax
je 0x462c86
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call esi
push 0x11
and eax, 0x8000
sub eax, 0x8000
neg eax
sbb eax, eax
inc eax
mov dword [esp + 0x68], eax
call esi
mov ecx, dword [ebx + 0xde0]
mov edx, dword [ebx + 0xdd4]
mov esi, dword [ebx + 0xddc]
mov dword [esp + 0x28], edx
mov dword [esp + 0x18], esi
and eax, 0x8000
sub eax, 0x8000
neg eax
sbb eax, eax
inc eax
mov dword [esp + 0x54], eax
mov eax, dword [ebx + 0xdd8]
cmp eax, ecx
mov dword [esp + 0x60], eax
mov dword [esp + 0x50], ecx
jne 0x46206e
cmp esi, edx
jle 0x462c86
cmp eax, ecx
jg 0x462c86
test edx, edx
jl 0x462c86
test eax, eax
jl 0x462c86
test esi, esi
jl 0x462c86
test ecx, ecx
jl 0x462c86
mov eax, dword [ebx + 0x710]
mov esi, dword [ebx + 0x714]
mov ecx, dword [ebx + 0x6cc]
mov edi, dword [ecx + 0x44]
sub eax, esi
test eax, eax
mov dword [esp + 0x10], edi
jle 0x4620c3
cmp edi, ecx
je 0x4620bf
mov edi, dword [edi + 0x44]
dec eax
test eax, eax
jg 0x4620b3
mov dword [esp + 0x10], edi
test edi, edi
je 0x462c86
push 0x64
mov dword [esp + 0x5c], 0x64
call fcn.005cc381
add esp, 4
test eax, eax
mov dword [esp + 0x14], eax
jne 0x4620f6
push eax
call fcn.00421c80
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret
mov esi, dword [ebx + 0xa00]
mov ecx, dword [esp + 0x7c]
mov ebx, dword [ebx + 0x6cc]
mov ebp, dword [edi + 8]
sub ecx, esi
dec ecx
cmp edi, ebx
je 0x462188
mov edx, dword [esp + 0x38]
mov edi, dword [edx + 0x768]
mov edx, dword [esp + 0x10]
mov edi, edi
sub ecx, esi
cmp edi, 1
je 0x462135
cmp edi, 2
jne 0x462137
cmp dword [0x63e11c], 1
jne 0x462137
sub ecx, esi
mov edx, dword [edx + 0x44]
mov eax, dword [edx + 8]
cmp eax, ebp
mov dword [esp + 0x10], edx
je 0x462179
cmp edi, 3
mov ebp, eax
je 0x462159
cmp edi, 2
jne 0x462171
cmp dword [0x63e11c], edi
jne 0x462171
mov eax, 0x55555555
imul esi
sub edx, esi
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
add ecx, edx
mov edx, dword [esp + 0x10]
mov eax, esi
neg eax
cmp ecx, eax
jl 0x46217f
cmp edx, ebx
jne 0x462120
jmp 0x46218c
mov edx, dword [edx + 0x40]
mov dword [esp + 0x10], edx
jmp 0x46218c
mov edx, dword [esp + 0x10]
test edx, edx
jne 0x4621ac
mov ecx, dword [esp + 0x14]
push ecx
call fcn.005cc393
push 0
call fcn.00421c80
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret
mov edx, dword [esp + 0x10]
mov ebp, dword [edx + 8]
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x38]
mov byte [0x63b6f0], 0
mov byte [ebx], 0
mov eax, dword [edi + 0x87c]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
test esi, esi
mov dword [esp + 0x6c], esi
jne 0x4621f3
push ebx
call fcn.005cc393
push esi
call fcn.00421c80
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret
mov ecx, dword [edi + 0x988]
push ecx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x68], eax
mov eax, dword [edi + 0xde4]
xor ebx, ebx
cmp eax, ebx
je 0x462219
mov dword [esp + 0x20], ebx
xor eax, eax
jmp 0x46223a
cmp dword [0x60a514], ebx
jne 0x46222d
cmp dword [edi + 0xa08], ebx
mov dword [esp + 0x20], ebx
je 0x462235
mov dword [esp + 0x20], 1
mov eax, dword [0x642ee4]
cmp eax, ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x5c], 0xffffffff
je 0x46225e
mov edx, dword [edi + 0x9f8]
push edx
push esi
call fcn.0049a850
add esp, 8
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x1c]
push ecx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], ebx
call fcn.0043bf80
mov edx, dword [0x613690]
push edx
mov dword [esp + 0x2c], eax
call fcn.0043bf80
add esp, 8
mov dword [esp + 0x48], eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x1c], ebx
mov edi, edi
mov eax, dword [esp + 0x50]
cmp dword [esp + 0x1c], eax
jg 0x462b2e
mov edi, dword [esp + 0x10]
cmp ebp, dword [edi + 8]
je 0x4622ed
mov ecx, dword [edi + 0x1c]
xor esi, esi
push ecx
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], esi
call fcn.0043bf80
mov edx, dword [0x613690]
push edx
mov dword [esp + 0x2c], eax
call fcn.0043bf80
add esp, 8
mov dword [esp + 0x48], eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x4c], esi
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x60]
cmp ecx, eax
jne 0x4626af
mov ecx, dword [edi]
mov ebp, 1
mov dword [esp + 0x4c], ebp
mov edx, 0x63bad8
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x462310
mov eax, 0x63bad8
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x462322
mov esi, dword [esp + 0x28]
sub eax, edx
mov edi, eax
cmp esi, edi
jle 0x46233b
mov esi, edi
mov dword [esp + 0x28], esi
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x462355
push 0x63bad8
call fcn.0057ab30
add esp, 4
cmp eax, 2
je 0x462357
xor ebp, ebp
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x50]
jne 0x462402
test ebx, ebx
je 0x4623c1
test ebp, ebp
je 0x4623c1
mov ebx, dword [esp + 0x18]
xor esi, esi
cmp ebx, edi
jge 0x4623b5
jmp 0x462380
push ebx
push 0x63bad8
call fcn.0057aa30
add esp, 8
cmp eax, 0xffffffff
je 0x4623ab
cmp eax, 0xfffffffe
je 0x4623ab
lea ecx, [ebx + 0x63bad8]
push ecx
call fcn.0057b690
add esp, 4
test eax, eax
je 0x4623b5
inc ebx
cmp ebx, edi
mov esi, 1
jl 0x462380
sub ebx, esi
mov esi, dword [esp + 0x28]
mov dword [esp + 0x18], ebx
jmp 0x4623c5
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4623e5
push ebx
push 0x63bad8
call fcn.005cf858
add esp, 8
cmp eax, 1
jne 0x4623e5
inc ebx
mov dword [esp + 0x18], ebx
cmp ebx, edi
jle 0x4623ef
mov ebx, edi
mov dword [esp + 0x18], ebx
mov byte [ebx + 0x63bad9], 0
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x1c], 0xffffffff
test ebx, ebx
je 0x462444
test ebp, ebp
je 0x462444
test esi, esi
jle 0x462444
mov edi, edi
push esi
push 0x63bad8
call fcn.0057aa30
add esp, 8
cmp eax, 0xffffffff
je 0x46243b
cmp eax, 0xfffffffe
je 0x46243b
lea edx, [esi + 0x63bad8]
push edx
call fcn.0057b690
add esp, 4
test eax, eax
je 0x462444
dec esi
test esi, esi
mov dword [esp + 0x28], esi
jg 0x462410
mov eax, dword [esp + 0x30]
test eax, eax
je 0x462468
test esi, esi
jle 0x462468
push esi
push 0x63bad8
call fcn.005cf858
add esp, 8
cmp eax, 2
jne 0x462468
dec esi
mov dword [esp + 0x28], esi
lea eax, [esi + 0x63bad8]
mov edx, 0x63b6f0
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x462475
mov eax, dword [esp + 0x54]
test eax, eax
je 0x462869
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 0x6cc]
mov esi, ecx
jmp 0x4624a0
cmp esi, eax
je 0x4624b2
mov esi, dword [esi + 0x44]
mov edx, dword [esi + 8]
cmp edx, dword [ecx + 8]
je 0x4624a0
mov esi, dword [esi + 0x40]
test esi, esi
je 0x462869
mov eax, dword [esi + 0x1c]
push eax
call fcn.0043bf80
add esp, 4
mov dword [esp + 0x24], eax
lea ebx, [ebx]
mov edx, dword [esi]
mov eax, edx
xor edi, edi
lea ebp, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4624e0
sub eax, ebp
mov ebp, eax
mov eax, dword [esp + 0x20]
test eax, eax
je 0x462508
push edx
call fcn.0057ab30
add esp, 4
cmp eax, 2
jne 0x462508
mov ebx, 1
jmp 0x46250a
xor ebx, ebx
test ebp, ebp
jle 0x462695
cmp esi, dword [esp + 0x10]
jne 0x462522
cmp edi, dword [esp + 0x28]
jge 0x462695
mov eax, dword [esp + 0x20]
test eax, eax
je 0x462554
test ebx, ebx
je 0x462554
mov ecx, dword [esi]
push edi
push ecx
call fcn.0057aa30
add esp, 8
test eax, eax
jg case.0x462593.4
cmp eax, 0xffffffff
je case.0x462593.4
cmp eax, 0xfffffffe
je case.0x462593.4
mov eax, dword [esp + 0x30]
test eax, eax
je 0x46257a
mov edx, dword [esi]
push edi
push edx
call fcn.005cf858
add esp, 8
cmp eax, 1
je case.0x462593.4
cmp eax, 2
je case.0x462593.4
mov eax, dword [esi]
movzx eax, byte [eax + edi]
add eax, 0xfffffffe
cmp eax, 0x1d
ja case.0x462593.4
movzx ecx, byte [eax + 0x462ca8]
jmp dword [ecx*4 + 0x462c90]
mov eax, dword [esp + 0x3c]
xor edx, edx
test eax, eax
sete dl
mov dword [esp + 0x34], 1
mov dword [esp + 0x3c], edx
jmp case.0x462593.4
mov ecx, dword [esp + 0x40]
xor eax, eax
test ecx, ecx
sete al
mov dword [esp + 0x34], 1
mov dword [esp + 0x40], eax
jmp case.0x462593.4
mov eax, dword [esp + 0x44]
xor ecx, ecx
test eax, eax
sete cl
mov dword [esp + 0x34], 1
mov dword [esp + 0x44], ecx
jmp case.0x462593.4
mov edx, dword [0x613690]
push edx
call fcn.0043bf80
add esp, 4
push eax
mov eax, dword [esi + 0x1c]
push eax
call fcn.0043bf80
add esp, 4
push eax
mov eax, dword [esi]
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x30]
push edx
add eax, edi
push eax
call fcn.00522aa0
mov ecx, dword [esp + 0x40]
add esp, 0x14
add edi, eax
test ecx, ecx
jne 0x46264b
test eax, eax
jne 0x46263e
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], 1
jmp case.0x462593.4
xor ecx, ecx
cmp eax, 2
setg cl
inc ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x34], 1
jmp case.0x462593.4
mov edx, dword [esi + 0x1c]
xor eax, eax
push edx
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], eax
call fcn.0043bf80
mov dword [esp + 0x28], eax
mov eax, dword [0x613690]
push eax
call fcn.0043bf80
add esp, 8
mov dword [esp + 0x48], eax
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], eax
inc edi
cmp edi, ebp
jl 0x462512
cmp esi, dword [esp + 0x10]
je 0x462869
mov esi, dword [esi + 0x40]
test esi, esi
jne 0x4624d0
jmp 0x462869
jle 0x462869
mov esi, dword [esp + 0x10]
mov ecx, dword [esi]
mov edx, 0x63bad8
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x4626c0
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x4626eb
push 0x63bad8
call fcn.0057ab30
add esp, 4
cmp eax, 2
jne 0x4626eb
mov edi, 1
jmp 0x4626ed
xor edi, edi
mov ecx, dword [esp + 0x50]
cmp dword [esp + 0x1c], ecx
jne 0x46279e
mov eax, 0x63bad8
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x462703
sub eax, edx
test ebx, ebx
mov esi, eax
je 0x46275d
test edi, edi
je 0x46275d
mov ebx, dword [esp + 0x18]
xor edi, edi
cmp ebx, esi
jge 0x462755
push ebx
push 0x63bad8
call fcn.0057aa30
add esp, 8
cmp eax, 0xffffffff
je 0x46274b
cmp eax, 0xfffffffe
je 0x46274b
lea edx, [ebx + 0x63bad8]
push edx
call fcn.0057b690
add esp, 4
test eax, eax
je 0x462755
inc ebx
cmp ebx, esi
mov edi, 1
jl 0x462720
sub ebx, edi
mov dword [esp + 0x18], ebx
jmp 0x462761
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x30]
test eax, eax
je 0x462781
push ebx
push 0x63bad8
call fcn.005cf858
add esp, 8
cmp eax, 1
jne 0x462781
inc ebx
mov dword [esp + 0x18], ebx
cmp ebx, esi
jle 0x46278b
mov ebx, esi
mov dword [esp + 0x18], ebx
mov esi, dword [esp + 0x10]
mov byte [ebx + 0x63bad9], 0
mov dword [esp + 0x1c], 0xffffffff
mov eax, dword [esp + 0x64]
test eax, eax
jne 0x462823
cmp ebp, dword [esi + 8]
jne 0x462823
mov ecx, dword [esi + 0x10]
test ecx, ecx
jle 0x462803
cmp byte [0x63bad8], 0x20
mov eax, 0x63bad8
jne 0x4627ce
test ecx, ecx
jle 0x4627ce
mov dl, byte [eax + 1]
inc eax
dec ecx
cmp dl, 0x20
je 0x4627c0
cmp byte [eax], 0
jne 0x4627d8
mov eax, 0x5e7420
mov edx, 0x63b6f0
sub edx, eax
nop
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4627e0
jmp 0x462869
xor eax, eax
jmp 0x462810
mov cl, byte [eax + 0x63bad8]
mov byte [eax + 0x63b6f0], cl
inc eax
test cl, cl
jne 0x462810
jmp 0x462869
mov ax, word [0x5e6c94]
mov cl, byte [0x5e6c96]
mov word [0x63b6f0], ax
mov eax, 0x63bad8
mov byte [0x63b6f2], cl
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x462842
mov edi, 0x63b6f0
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x462853
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x10]
cmp dword [edx + 0x6f8], eax
jne 0x46288b
cmp dword [eax + 0x20], 2
jne 0x46288b
mov byte [0x63b6f0], 0
jmp 0x462b0c
mov cl, byte [0x63b6f0]
test cl, cl
je 0x462b0c
mov eax, dword [esp + 0x54]
test eax, eax
je 0x462a73
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x462a82
mov eax, dword [esp + 0x3c]
test eax, eax
mov dword [esp + 0x4c], 0
mov byte [0x63bad8], 0
je 0x4628f0
mov eax, 0x63bad8
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4628d0
sub eax, edx
push 2
lea eax, [eax + 0x63bad8]
push 0x5e7094
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov eax, dword [esp + 0x40]
test eax, eax
je 0x462920
mov eax, 0x63bad8
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x462900
sub eax, edx
push 0x1f
lea ecx, [eax + 0x63bad8]
push 0x5e7094
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov eax, dword [esp + 0x44]
test eax, eax
je 0x462950
mov eax, 0x63bad8
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x462930
sub eax, edx
push 0x16
lea edx, [eax + 0x63bad8]
push 0x5e7094
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov eax, dword [esp + 0x2c]
cmp eax, 2
jne 0x4629c0
movzx eax, byte [0x63b6f0]
push eax
call fcn.005cd445
add esp, 4
test eax, eax
mov eax, 0x63bad8
lea edx, [eax + 1]
je 0x4629a4
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x462975
mov ecx, dword [esp + 0x48]
push ecx
sub eax, edx
mov edx, dword [esp + 0x28]
push edx
push 3
push str._c_d__02d
lea eax, [eax + 0x63bad8]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
jmp 0x462a25
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4629a4
mov ecx, dword [esp + 0x48]
push ecx
sub eax, edx
mov edx, dword [esp + 0x28]
push edx
push 3
push str._c_d__d
jmp 0x46298f
cmp eax, 1
jne 0x462a25
movzx ecx, byte [0x63b6f0]
push ecx
call fcn.005cd445
add esp, 4
test eax, eax
mov eax, 0x63bad8
lea edx, [eax + 1]
je 0x462a00
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4629e1
sub eax, edx
mov edx, dword [esp + 0x24]
push edx
push 3
push str._c_02d
lea eax, [eax + 0x63bad8]
push eax
jmp 0x462a1c
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x462a00
mov ecx, dword [esp + 0x24]
push ecx
push 3
sub eax, edx
push str._c_d
lea edx, [eax + 0x63bad8]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov eax, 0x63b6f0
mov edx, eax
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x462a30
mov edi, 0x63bad8
sub eax, edx
dec edi
nop
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x462a40
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor eax, eax
lea ebx, [ebx]
mov cl, byte [eax + 0x63bad8]
mov byte [eax + 0x63b6f0], cl
inc eax
test cl, cl
jne 0x462a60
jmp 0x462a82
push 0xf
push 0x63b6f0
call fcn.00551b90
add esp, 8
mov edi, dword [esp + 0x14]
mov eax, edi
lea edx, [eax + 1]
jmp 0x462a90
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x462a90
sub eax, edx
mov edx, eax
mov eax, 0x63b6f0
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x462aa3
mov ecx, dword [esp + 0x58]
sub eax, esi
lea eax, [eax + edx + 0x14]
cmp eax, ecx
jle 0x462ad7
add eax, 0x64
push eax
push edi
mov dword [esp + 0x60], eax
call fcn.005ce1f4
add esp, 8
test eax, eax
je 0x462c38
mov edi, eax
mov dword [esp + 0x14], edi
mov eax, 0x63b6f0
mov edx, eax
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x462ae0
sub eax, edx
dec edi
lea ebx, [ebx]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x462af0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x10]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1c]
cmp ecx, 0xffffffff
je 0x462b2e
mov ebp, dword [eax + 8]
mov eax, dword [eax + 0x40]
mov edx, ecx
inc edx
test eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], edx
jne 0x4622a0
mov eax, dword [esp + 0x14]
xor ebp, ebp
xor esi, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x462b40
sub eax, edx
mov ebx, eax
mov eax, dword [esp + 0x20]
test eax, eax
je 0x462b6d
mov eax, dword [esp + 0x14]
push eax
call fcn.0057ab30
add esp, 4
cmp eax, 2
mov dword [esp + 0x58], 1
je 0x462b75
mov dword [esp + 0x58], 0
test ebx, ebx
jle 0x462c42
lea ecx, [ecx]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x462bbe
mov eax, dword [esp + 0x58]
test eax, eax
je 0x462bbe
mov ecx, dword [esp + 0x14]
push esi
push ecx
call fcn.0057aa30
mov edi, eax
add esp, 8
test edi, edi
jle 0x462bbe
mov edx, dword [esp + 0x14]
add edx, esi
push edx
call fcn.0057b690
add esp, 4
test eax, eax
jne 0x462bb8
inc ebp
lea esi, [esi + edi + 1]
jmp 0x462be5
mov eax, dword [esp + 0x30]
test eax, eax
je 0x462be3
mov eax, dword [esp + 0x18]
push eax
push 0x63bad8
call fcn.005cf858
add esp, 8
cmp eax, 1
jne 0x462be3
inc ebp
add esi, 2
jmp 0x462be5
inc ebp
inc esi
cmp esi, ebx
jl 0x462b80
cmp ebp, 1
jle 0x462c42
mov eax, dword [esp + 0x34]
test eax, eax
je 0x462c20
mov eax, dword [esp + 0x14]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x462c00
mov ecx, dword [esp + 0x14]
sub eax, edx
push 0xf
add eax, ecx
push 0x5e7094
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x38]
push 0
push edx
push eax
call fcn.004226e0
add esp, 0xc
test eax, eax
jne 0x462c42
push 0
call fcn.00421c80
add esp, 4
mov eax, dword [esp + 0x14]
test eax, eax
je 0x462c53
push eax
call fcn.005cc393
add esp, 4
mov eax, dword [esp + 0x5c]
test eax, eax
jl 0x462c64
push eax
call fcn.005cf6ab
add esp, 4
mov ecx, dword [esp + 0x68]
mov esi, dword [esp + 0x6c]
push ecx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0x38]
mov eax, dword [edx + 0x87c]
push esi
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret