Function at 0x461af8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x12
push 0
push 0
dec ecx
jne 0x461b01
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
mov edi, dword [ebp + 0x10]
xor eax, eax
push ebp
push 0x462834
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x18]
mov eax, esi
call fcn.004660e4
mov eax, dword [edi + 8]
sub eax, dword [edi]
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x10]
mov eax, dword [eax + 4]
mov edx, dword [0x449814]
call fcn.00403628
test al, al
je 0x461b71
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x10]
mov eax, dword [eax + 4]
mov edx, dword [0x449814]
call fcn.0040364c
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x461bb8
mov eax, dword [ebp - 0x38]
call fcn.0043a960
test al, al
je 0x461bb8
lea eax, [ebp - 0x48]
push eax
mov eax, esi
call fcn.00445898
push eax
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x10]
mov edx, dword [eax]
call dword [edx + 0x34]
push eax
mov eax, dword [ebp - 0x38]
call fcn.0043a65c
push eax
call sub.user32.dll_GetMenuItemRect
test eax, eax
je 0x461bb8
mov eax, dword [ebp - 0x40]
sub eax, dword [ebp - 0x48]
mov dword [ebp - 0x30], eax
mov eax, esi
call fcn.00445dec
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax + 4], 0
je 0x461bfe
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 4]
mov edx, dword [0x42fce4]
call fcn.00403628
test al, al
je 0x461bfe
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 4]
mov edx, dword [0x42fce4]
call fcn.0040364c
xor edx, edx
call fcn.0045a2c8
fstp dword [ebp - 0x34]
wait
jmp 0x461c05
mov dword [ebp - 0x34], 0x3f800000
cmp dword [ebp - 0x14], 0
je 0x461c49
mov eax, dword [ebp - 0x14]
call fcn.00447458
test al, al
je 0x461c49
test byte [ebp + 8], 0
jne 0x461c2b
mov eax, dword [ebp + 8]
and eax, 0xffffffff
or eax, 2
mov dword [ebp + 8], eax
jmp 0x461c42
mov eax, dword [ebp + 8]
and eax, 2
cmp eax, 2
jne 0x461c42
mov eax, dword [ebp + 8]
and eax, 0xfffffffd
or eax, 0
mov dword [ebp + 8], eax
or dword [ebp + 8], 0x20000
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.004042b4
push 0
lea eax, [ebp - 0x29]
push eax
push 0
push 0x100a
call sub.user32.dll_SystemParametersInfoA
test eax, eax
je 0x461c86
cmp byte [ebp - 0x29], 0
jne 0x461c86
push 0x12
call sub.user32.dll_GetKeyState
movsx eax, ax
test ah, 0x80
jne 0x461c86
or dword [ebp + 8], 0x100000
test byte [ebp + 9], 4
je 0x461cb0
cmp dword [ebp - 8], 0
je 0x461ca3
mov eax, dword [ebp - 8]
cmp byte [eax], 0x26
jne 0x461cb0
mov eax, dword [ebp - 8]
cmp byte [eax + 1], 0
jne 0x461cb0
lea eax, [ebp - 8]
mov edx, 0x46284c
call fcn.004044e4
mov dl, 1
mov eax, dword [ebx + 0x14]
call fcn.00420a60
mov eax, esi
call fcn.00465bbc
test al, al
je 0x461dc7
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x18]
mov eax, dword [eax + 0x48]
cmp byte [eax + 0x20], 0
je 0x461d1f
mov eax, dword [0x46b1ac]
mov eax, dword [eax]
mov edx, dword [eax + 0x88]
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebx + 0xc]
call fcn.00420358
mov dword [ebp - 0x6c], eax
fild dword [ebp - 0x6c]
fstp xword [ebp - 0x78]
wait
call fcn.00460f5c
fld xword [ebp - 0x78]
fdivrp st(1)
fmul dword [ebp - 0x34]
call fcn.00402cbc
mov edx, eax
mov eax, dword [ebx + 0xc]
call fcn.00420360
jmp 0x461d55
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x18]
mov eax, dword [eax + 0x48]
mov edx, dword [eax + 0x14]
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebx + 0xc]
call fcn.00420358
mov dword [ebp - 0x6c], eax
fild dword [ebp - 0x6c]
fmul dword [ebp - 0x34]
call fcn.00402cbc
mov edx, eax
mov eax, dword [ebx + 0xc]
call fcn.00420360
test byte [ebp + 0xc], 1
je 0x461d8a
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x18]
mov eax, dword [eax + 0x48]
cmp dword [eax + 0x1c], 0x1fffffff
je 0x461d8a
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x18]
mov eax, dword [eax + 0x48]
mov edx, dword [eax + 0x1c]
mov eax, dword [ebx + 0xc]
call fcn.00420178
jmp 0x461eeb
test byte [ebp + 0xc], 0x40
je 0x461eeb
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x18]
mov eax, dword [eax + 0x48]
cmp dword [eax + 0x24], 0x1fffffff
je 0x461eeb
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x18]
mov eax, dword [eax + 0x48]
mov edx, dword [eax + 0x24]
mov eax, dword [ebx + 0xc]
call fcn.00420178
jmp 0x461eeb
test byte [ebp + 0xc], 1
je 0x461e65
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x18]
mov eax, dword [eax + 0x4c]
cmp byte [eax + 0x38], 0
je 0x461e2a
mov eax, dword [0x46b1ac]
mov eax, dword [eax]
mov edx, dword [eax + 0x88]
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebx + 0xc]
call fcn.00420358
mov dword [ebp - 0x6c], eax
fild dword [ebp - 0x6c]
fstp xword [ebp - 0x78]
wait
call fcn.00460f5c
fld xword [ebp - 0x78]
fdivrp st(1)
fmul dword [ebp - 0x34]
call fcn.00402cbc
mov edx, eax
mov eax, dword [ebx + 0xc]
call fcn.00420360
jmp 0x461eeb
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x18]
mov eax, dword [eax + 0x4c]
mov edx, dword [eax + 0x34]
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebx + 0xc]
call fcn.00420358
mov dword [ebp - 0x6c], eax
fild dword [ebp - 0x6c]
fmul dword [ebp - 0x34]
call fcn.00402cbc
mov edx, eax
mov eax, dword [ebx + 0xc]
call fcn.00420360
jmp 0x461eeb
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x18]
cmp byte [eax + 0x30], 0
je 0x461eb8
mov eax, dword [0x46b1ac]
mov eax, dword [eax]
mov edx, dword [eax + 0x88]
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebx + 0xc]
call fcn.00420358
mov dword [ebp - 0x6c], eax
fild dword [ebp - 0x6c]
fstp xword [ebp - 0x78]
wait
call fcn.00460f5c
fld xword [ebp - 0x78]
fdivrp st(1)
fmul dword [ebp - 0x34]
call fcn.00402cbc
mov edx, eax
mov eax, dword [ebx + 0xc]
call fcn.00420360
jmp 0x461eeb
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x18]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebx + 0xc]
call fcn.00420358
mov dword [ebp - 0x6c], eax
fild dword [ebp - 0x6c]
fmul dword [ebp - 0x34]
call fcn.00402cbc
mov edx, eax
mov eax, dword [ebx + 0xc]
call fcn.00420360
cmp byte [esi + 0x3a], 0
je 0x461f09
mov eax, dword [ebx + 0xc]
call fcn.00420438
mov edx, eax
or dl, byte [0x462850]
mov eax, dword [ebx + 0xc]
call fcn.00420444
mov edx, dword [ebp - 8]
mov eax, 0x46285c
call fcn.00404820
test eax, eax
jle 0x4624ac
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x28]
test al, al
je 0x4624ac
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x18]
cmp dword [eax + 0x68], 0
jne 0x4620f2
cmp byte [esi + 0x39], 0
jne 0x461f59
mov ax, word [ebp + 0xc]
call fcn.00461af0
mov edx, eax
mov eax, dword [ebx + 0xc]
call fcn.00420178
mov eax, dword [ebp + 8]
and eax, 0xfffffffb
and eax, 0x20
mov dword [ebp + 8], eax
lea eax, [ebp - 0xc]
push eax
mov edx, dword [ebp - 8]
mov eax, 0x46285c
call fcn.00404820
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.0040473c
mov eax, dword [ebp + 8]
push eax
push edi
mov eax, dword [ebp - 0xc]
call fcn.004044dc
push eax
mov eax, dword [ebp - 0xc]
call fcn.004046dc
push eax
mov eax, ebx
call fcn.004210cc
push eax
call sub.user32.dll_DrawTextA
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.004042b4
push esi
mov esi, edi
lea edi, [ebp - 0x48]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
mov edx, 0x462868
mov eax, ebx
call fcn.00420f48
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
add dword [ebp - 0x44], eax
test byte [ebp + 0xc], 1
je 0x461ff3
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x18]
mov eax, dword [eax + 0x4c]
mov edx, dword [eax + 0x44]
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x462006
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x18]
mov edx, dword [eax + 0x64]
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax]
call dword [ecx + 8]
mov edi, dword [ebx + 0xc]
mov eax, edi
call fcn.00420358
mov dword [ebp - 0x6c], eax
fild dword [ebp - 0x6c]
fmul dword [ebp - 0x34]
call fcn.00402cbc
mov edx, eax
mov eax, edi
call fcn.00420360
cmp byte [esi + 0x39], 0
jne 0x462040
mov ax, word [ebp + 0xc]
call fcn.00461af0
mov edx, eax
mov eax, dword [ebx + 0xc]
call fcn.00420178
mov edx, 0x462868
mov eax, ebx
call fcn.00420f48
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0xc]
mov eax, 0x46285c
call fcn.00404820
mov ecx, eax
inc ecx
lea eax, [ebp - 0xc]
mov edx, 1
call fcn.0040477c
mov edx, dword [ebp - 0xc]
mov eax, 0x46285c
call fcn.00404820
test eax, eax
jle 0x4620a0
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0xc]
mov eax, 0x46285c
call fcn.00404820
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.0040473c
jmp 0x4620ab
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0xc]
call fcn.004042b4
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x10]
call fcn.004044dc
push eax
mov eax, dword [ebp - 0x10]
call fcn.004046dc
push eax
mov eax, ebx
call fcn.004210cc
push eax
call sub.user32.dll_DrawTextA
mov eax, dword [ebp - 0x28]
add dword [ebp - 0x44], eax
mov edx, dword [ebp - 0xc]
mov eax, 0x46285c
call fcn.00404820
test eax, eax
jne 0x46204f
jmp 0x4627bf
mov eax, ebx
call fcn.004210cc
mov ecx, eax
mov dl, 1
mov eax, dword [0x4568c4]
call fcn.00456b9c
mov dword [ebp - 0x1c], eax
push 0
lea edx, [ebp - 0x80]
mov eax, dword [ebx + 0xc]
call fcn.00420388
mov edx, dword [ebp - 0x80]
lea eax, [ebp - 0x7c]
call fcn.00404a48
mov ecx, dword [ebp - 0x7c]
mov dl, 1
mov eax, dword [0x456704]
call fcn.00456dec
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0xc]
call fcn.004203fc
mov dword [ebp - 0x6c], eax
fild dword [ebp - 0x6c]
add esp, 0xfffffffc
fstp dword [esp]
wait
push 0
push 3
mov ecx, dword [ebp - 0x24]
mov dl, 1
mov eax, dword [0x456760]
call fcn.00456eb4
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x18]
mov eax, dword [eax + 0x68]
dec eax
je 0x462172
dec eax
je 0x462181
jmp 0x46218e
mov edx, 5
mov eax, dword [ebp - 0x1c]
call fcn.00456c20
jmp 0x46218e
mov edx, 4
mov eax, dword [ebp - 0x1c]
call fcn.00456c20
mov eax, dword [edi]
mov dword [ebp - 0x6c], eax
fild dword [ebp - 0x6c]
fstp dword [ebp - 0x58]
wait
fild dword [edi + 4]
fstp dword [ebp - 0x54]
wait
mov edx, dword [edi + 8]
sub edx, eax
mov dword [ebp - 0x6c], edx
fild dword [ebp - 0x6c]
fstp dword [ebp - 0x50]
wait
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 4]
mov dword [ebp - 0x6c], eax
fild dword [ebp - 0x6c]
fstp dword [ebp - 0x4c]
wait
push 0
mov ecx, 0x1000
mov dl, 1
mov eax, dword [0x456868]
call fcn.00456a4c
mov edi, eax
mov edx, 1
mov eax, edi
call fcn.00456af8
mov eax, dword [ebx + 0xc]
mov ebx, dword [eax + 0x18]
cmp byte [esi + 0x39], 0
jne 0x4621f8
mov ax, word [ebp + 0xc]
call fcn.00461af0
mov ebx, eax
mov eax, ebx
call fcn.00456a18
mov ecx, eax
mov dl, 1
mov eax, dword [0x45680c]
call fcn.00456b48
mov ebx, eax
lea eax, [ebp - 0xc]
push eax
mov edx, dword [ebp - 8]
mov eax, 0x46285c
call fcn.00404820
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.0040473c
mov eax, dword [ebp - 0x20]
push eax
lea eax, [ebp - 0x58]
push eax
push edi
push ebx
mov eax, dword [ebp - 0xc]
call fcn.004044dc
mov ecx, eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x1c]
call fcn.00456cec
mov eax, dword [ebp - 0x20]
call fcn.00403490
mov eax, dword [ebp - 0x24]
call fcn.00403490
mov eax, ebx
call fcn.00403490
test byte [ebp + 0xc], 1
je 0x4622fa
push 0
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x18]
mov eax, dword [eax + 0x4c]
mov eax, dword [eax + 0x44]
lea edx, [ebp - 0x88]
call fcn.00420388
mov edx, dword [ebp - 0x88]
lea eax, [ebp - 0x84]
call fcn.00404a48
mov ecx, dword [ebp - 0x84]
mov dl, 1
mov eax, dword [0x456704]
call fcn.00456dec
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x18]
mov eax, dword [eax + 0x4c]
mov eax, dword [eax + 0x44]
call fcn.004203fc
mov dword [ebp - 0x6c], eax
fild dword [ebp - 0x6c]
add esp, 0xfffffffc
fstp dword [esp]
wait
push 0
push 3
mov ecx, dword [ebp - 0x24]
mov dl, 1
mov eax, dword [0x456760]
call fcn.00456eb4
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x18]
mov eax, dword [eax + 0x4c]
mov eax, dword [eax + 0x44]
mov ebx, dword [eax + 0x18]
jmp 0x462379
push 0
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x18]
mov eax, dword [eax + 0x64]
lea edx, [ebp - 0x90]
call fcn.00420388
mov edx, dword [ebp - 0x90]
lea eax, [ebp - 0x8c]
call fcn.00404a48
mov ecx, dword [ebp - 0x8c]
mov dl, 1
mov eax, dword [0x456704]
call fcn.00456dec
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x18]
mov eax, dword [eax + 0x64]
call fcn.004203fc
mov dword [ebp - 0x6c], eax
fild dword [ebp - 0x6c]
add esp, 0xfffffffc
fstp dword [esp]
wait
push 0
push 3
mov ecx, dword [ebp - 0x24]
mov dl, 1
mov eax, dword [0x456760]
call fcn.00456eb4
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x18]
mov eax, dword [eax + 0x64]
mov ebx, dword [eax + 0x18]
cmp byte [esi + 0x39], 0
jne 0x46238a
mov ax, word [ebp + 0xc]
call fcn.00461af0
mov ebx, eax
mov eax, ebx
call fcn.00456a18
mov ecx, eax
mov dl, 1
mov eax, dword [0x45680c]
call fcn.00456b48
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.004042b4
fld dword [ebp - 0x54]
fadd dword [0x46286c]
fstp dword [ebp - 0x54]
wait
mov eax, dword [ebp - 0x20]
push eax
lea eax, [ebp - 0x58]
push eax
push edi
lea eax, [ebp - 0x68]
push eax
push 0
push 0
mov ecx, 2
mov edx, 0x462874
mov eax, dword [ebp - 0x1c]
call fcn.00456c3c
fld dword [ebp - 0x5c]
call fcn.00402cbc
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0xc]
mov eax, 0x46285c
call fcn.00404820
mov ecx, eax
inc ecx
lea eax, [ebp - 0xc]
mov edx, 1
call fcn.0040477c
mov edx, dword [ebp - 0xc]
mov eax, 0x46285c
call fcn.00404820
test eax, eax
jle 0x462438
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0xc]
mov eax, 0x46285c
call fcn.00404820
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.0040473c
jmp 0x462443
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0xc]
call fcn.004042b4
mov eax, dword [ebp - 0x20]
push eax
lea eax, [ebp - 0x58]
push eax
push edi
push ebx
mov eax, dword [ebp - 0x10]
call fcn.004044dc
mov ecx, eax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
call fcn.00456cec
fild dword [ebp - 0x28]
fadd dword [ebp - 0x54]
fstp dword [ebp - 0x54]
wait
mov edx, dword [ebp - 0xc]
mov eax, 0x46285c
call fcn.00404820
test eax, eax
jne 0x4623e7
mov eax, dword [ebp - 0x20]
call fcn.00403490
mov eax, dword [ebp - 0x24]
call fcn.00403490
mov eax, edi
call fcn.00403490
mov eax, ebx
call fcn.00403490
mov eax, dword [ebp - 0x1c]
call fcn.00403490
jmp 0x4627bf
cmp byte [esi + 0x39], 0
jne 0x4624c5
mov ax, word [ebp + 0xc]
call fcn.00461af0
mov edx, eax
mov eax, dword [ebx + 0xc]
call fcn.00420178
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x18]
cmp dword [eax + 0x68], 0
jne 0x4625f5
mov edx, dword [ebp - 8]
mov eax, 0x462884
call fcn.00404820
test eax, eax
jle 0x4625cc
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x44]
cmp al, 1
jne 0x462503
mov eax, dword [ebp - 0x30]
sub eax, 0x14
mov dword [edi + 8], eax
jmp 0x462516
sub dword [edi + 8], 0x1e
mov eax, esi
call fcn.00445830
test eax, eax
jle 0x462516
sub dword [edi + 8], 0xa
lea eax, [ebp - 0xc]
push eax
mov edx, dword [ebp - 8]
mov eax, 0x462884
call fcn.00404820
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.0040473c
mov eax, dword [ebp + 8]
push eax
push edi
mov eax, dword [ebp - 0xc]
call fcn.004044dc
push eax
mov eax, dword [ebp - 0xc]
call fcn.004046dc
push eax
mov eax, ebx
call fcn.004210cc
push eax
call sub.user32.dll_DrawTextA
lea eax, [ebp - 0xc]
push eax
mov edx, dword [ebp - 8]
mov eax, 0x462884
call fcn.00404820
inc eax
push eax
mov eax, dword [ebp - 8]
call fcn.004044dc
mov ecx, eax
mov eax, dword [ebp - 8]
pop edx
call fcn.0040473c
and dword [ebp + 8], 0xffffffff
mov eax, dword [ebp + 8]
or eax, 2
or eax, 0x20
or eax, 4
mov dword [ebp + 8], eax
push 1
mov eax, ebx
call fcn.004210cc
push eax
call sub.gdi32.dll_SetBkMode
mov eax, dword [ebp + 8]
push eax
push edi
mov eax, dword [ebp - 0xc]
call fcn.004044dc
push eax
mov eax, dword [ebp - 0xc]
call fcn.004046dc
push eax
mov eax, ebx
call fcn.004210cc
push eax
call sub.user32.dll_DrawTextA
jmp 0x4627bf
mov eax, dword [ebp + 8]
push eax
push edi
mov eax, dword [ebp - 8]
call fcn.004044dc
push eax
mov eax, dword [ebp - 8]
call fcn.004046dc
push eax
mov eax, ebx
call fcn.004210cc
push eax
call sub.user32.dll_DrawTextA
jmp 0x4627bf
mov eax, ebx
call fcn.004210cc
mov ecx, eax
mov dl, 1
mov eax, dword [0x4568c4]
call fcn.00456b9c
mov dword [ebp - 0x1c], eax
push 0
lea edx, [ebp - 0x98]
mov eax, dword [ebx + 0xc]
call fcn.00420388
mov edx, dword [ebp - 0x98]
lea eax, [ebp - 0x94]
call fcn.00404a48
mov ecx, dword [ebp - 0x94]
mov dl, 1
mov eax, dword [0x456704]
call fcn.00456dec
mov dword [ebp - 0x24], eax
cmp byte [esi + 0x3a], 0
je 0x462676
mov eax, dword [ebx + 0xc]
call fcn.004203fc
mov dword [ebp - 0x6c], eax
fild dword [ebp - 0x6c]
add esp, 0xfffffffc
fstp dword [esp]
wait
push 1
push 3
mov ecx, dword [ebp - 0x24]
mov dl, 1
mov eax, dword [0x456760]
call fcn.00456eb4
mov dword [ebp - 0x20], eax
jmp 0x4626a1
mov eax, dword [ebx + 0xc]
call fcn.004203fc
mov dword [ebp - 0x6c], eax
fild dword [ebp - 0x6c]
add esp, 0xfffffffc
fstp dword [esp]
wait
push 0
push 3
mov ecx, dword [ebp - 0x24]
mov dl, 1
mov eax, dword [0x456760]
call fcn.00456eb4
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x18]
mov eax, dword [eax + 0x68]
dec eax
je 0x4626b4
dec eax
je 0x4626c3
jmp 0x4626d0
mov edx, 5
mov eax, dword [ebp - 0x1c]
call fcn.00456c20
jmp 0x4626d0
mov edx, 4
mov eax, dword [ebp - 0x1c]
call fcn.00456c20
mov eax, dword [edi]
mov dword [ebp - 0x6c], eax
fild dword [ebp - 0x6c]
fstp dword [ebp - 0x58]
wait
fild dword [edi + 4]
fstp dword [ebp - 0x54]
wait
mov edx, dword [edi + 8]
sub edx, eax
mov dword [ebp - 0x6c], edx
fild dword [ebp - 0x6c]
fstp dword [ebp - 0x50]
wait
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 4]
mov dword [ebp - 0x6c], eax
fild dword [ebp - 0x6c]
fstp dword [ebp - 0x4c]
wait
push 0
mov ecx, 0x1000
mov dl, 1
mov eax, dword [0x456868]
call fcn.00456a4c
mov edi, eax
mov edx, 1
mov eax, edi
call fcn.00456af8
mov edx, 1
mov eax, edi
call fcn.00456adc
mov eax, esi
call fcn.00465bbc
test al, al
je 0x462748
mov edx, 1
mov eax, edi
call fcn.00456ac0
jmp 0x46275f
mov eax, dword [ebp + 8]
and eax, 2
cmp eax, 2
jne 0x46275f
mov edx, 2
mov eax, edi
call fcn.00456ac0
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x18]
call fcn.00456a18
mov ecx, eax
mov dl, 1
mov eax, dword [0x45680c]
call fcn.00456b48
mov ebx, eax
mov eax, dword [ebp - 0x20]
push eax
lea eax, [ebp - 0x58]
push eax
push edi
push ebx
mov eax, dword [ebp - 8]
call fcn.004044dc
mov ecx, eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x1c]
call fcn.00456cec
mov eax, dword [ebp - 0x20]
call fcn.00403490
mov eax, dword [ebp - 0x24]
call fcn.00403490
mov eax, edi
call fcn.00403490
mov eax, ebx
call fcn.00403490
mov eax, dword [ebp - 0x1c]
call fcn.00403490
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46283b
lea eax, [ebp - 0x98]
call fcn.0040421c
lea eax, [ebp - 0x94]
call fcn.004048fc
lea eax, [ebp - 0x90]
call fcn.0040421c
lea eax, [ebp - 0x8c]
call fcn.004048fc
lea eax, [ebp - 0x88]
call fcn.0040421c
lea eax, [ebp - 0x84]
call fcn.004048fc
lea eax, [ebp - 0x80]
call fcn.0040421c
lea eax, [ebp - 0x7c]
call fcn.004048fc
lea eax, [ebp - 0x18]
call fcn.00405c24
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404240
ret