Function at 0x4578b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x46f96b
mov eax, dword fs:[0]
push eax
sub esp, 0x2ac
mov eax, dword [0x48a3c0]
xor eax, esp
mov dword [esp + 0x2a8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48a3c0]
xor eax, esp
push eax
lea eax, [esp + 0x2c0]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 4]
lea ecx, [esp + 0x74]
push ecx
xor edi, edi
push eax
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], eax
call dword [sym.imp.USER32.dll_BeginPaint]
mov dword [esp + 0x6c], eax
lea edx, [esp + 0x30]
mov dword [esp + 0x2c8], edi
mov eax, dword [esi + 4]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 4]
push edi
push edi
push 0x1200
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
xor ebp, ebp
cmp eax, edi
mov dword [esp + 0x28], eax
jle 0x457af4
mov eax, dword [esi + 4]
lea edx, [esp + 0x14]
push edx
push ebp
push 0x1207
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, dword [esp + 0x14]
cmp ebx, dword [esp + 0x38]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
jge 0x457ae5
cmp eax, dword [esp + 0x30]
jle 0x457ae5
xor edx, edx
cmp dword [esi + 0x24], ebp
jne 0x457982
mov edx, 2
jmp 0x457998
cmp dword [esi + 0x28], ebp
jne 0x45798e
mov edx, 1
jmp 0x457998
cmp dword [esi + 0x2c], ebp
jne 0x457998
mov edx, 3
mov ecx, dword [esi + 0x38]
mov edi, dword [ecx]
push edx
mov edx, dword [esp + 0x1c]
sub eax, ebx
push eax
mov eax, dword [esp + 0x74]
push edx
mov edx, dword [edi + 4]
push ebx
push eax
call edx
cmp dword [esi + 0x2c], ebp
jne 0x4579f0
mov ebx, dword [esi + 0x3c]
call fcn.00457c80
mov ecx, dword [esp + 0x14]
mov eax, ecx
sub eax, dword [ebx + 0xc]
add eax, dword [esp + 0x1c]
cdq
sub eax, edx
sar eax, 1
cmp eax, ecx
jl 0x4579f0
mov edx, dword [esp + 0x6c]
xor ecx, ecx
cmp dword [esi + 0x30], ecx
sete cl
push ecx
mov ecx, dword [esi + 0x3c]
push eax
push edx
mov eax, 1
call fcn.00457700
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
add eax, 5
sub ecx, 5
cmp ecx, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ecx
jle 0x457ae5
xor eax, eax
lea edx, [esp + 0x40]
push edx
push ebp
mov dword [esp + 0x4c], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov eax, dword [esi + 4]
push 0x120b
lea ecx, [esp + 0xc0]
push eax
mov dword [esp + 0x50], 0x86
mov dword [esp + 0x58], ecx
mov dword [esp + 0x60], 0x104
call dword [sym.imp.USER32.dll_SendMessageW]
mov al, byte [esp + 0x54]
mov edi, 0x8824
test al, 2
je 0x457a74
mov edi, 0x8825
jmp 0x457a7d
test al, 1
je 0x457a7d
mov edi, 0x8826
mov ecx, dword [esp + 0x6c]
push 1
push ecx
call dword [sym.imp.GDI32.dll_SetBkMode]
mov edx, dword [0x491850]
mov eax, dword [edx]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push eax
mov eax, dword [esp + 0x70]
push eax
call ebx
mov dword [esp + 0x2c], eax
lea eax, [esp + 0xb4]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x457ab0
push edi
sub eax, edx
lea ecx, [esp + 0x18]
push ecx
sar eax, 1
push eax
mov eax, dword [esp + 0x78]
lea edx, [esp + 0xc0]
push edx
push eax
call dword [sym.imp.USER32.dll_DrawTextW]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x6c]
push ecx
push edx
call ebx
inc ebp
cmp ebp, dword [esp + 0x28]
jl 0x45793f
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x38]
cmp eax, edi
jle 0x457b18
mov esi, dword [esi + 0x38]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esi]
mov edx, dword [edx + 4]
push 0
sub eax, edi
push eax
mov eax, dword [esp + 0x3c]
push eax
push edi
push ecx
mov ecx, esi
call edx
mov ecx, dword [esp + 0x70]
lea eax, [esp + 0x74]
push eax
push ecx
call dword [sym.imp.USER32.dll_EndPaint]
mov eax, 1
mov ecx, dword [esp + 0x2c0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2a8]
xor ecx, esp
call fcn.00460259
add esp, 0x2b8
ret