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

Disassembly:
push 0xffffffffffffffff
push 0x487de8
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x49e7c0]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49e7c0]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov eax, dword [esp + 0x6c]
mov esi, dword [esp + 0x78]
mov ebp, dword [esp + 0x70]
mov ebx, dword [esp + 0x74]
mov edi, dword [esp + 0x68]
mov dword [esp + 0x14], eax
mov eax, esi
sub eax, ebp
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x7c]
sub eax, ebx
mov dword [esp + 0x2c], eax
xor eax, eax
mov dword [esp + 0x34], edi
mov dword [esp + 0x28], eax
mov edx, dword [edi + 0x14]
test edx, edx
jne 0x428b01
xor ecx, ecx
jmp 0x428b09
mov ecx, dword [edi + 0x18]
sub ecx, edx
sar ecx, 2
cmp eax, ecx
jge 0x428c2f
test edx, edx
je 0x428b21
mov ecx, dword [edi + 0x18]
sub ecx, edx
sar ecx, 2
cmp eax, ecx
jb 0x428b2a
call fcn.0047770d
mov eax, dword [esp + 0x28]
mov ecx, dword [edi + 0x14]
mov edi, dword [ecx + eax*4]
mov ecx, dword [edi + 0xc]
mov edx, ecx
imul ecx, dword [esp + 0x2c]
imul edx, dword [esp + 0x30]
mov eax, 0x51eb851f
imul edx
sar edx, 5
mov dword [esp + 0x18], ebp
mov ebp, esi
mov esi, edx
shr esi, 0x1f
add esi, edx
mov eax, 0x51eb851f
imul ecx
mov ecx, dword [edi + 8]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, 3
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x7c]
ja case.default.0x428b77
jmp dword [ecx*4 + 0x428d54]
mov edx, dword [esp + 0x70]
lea ebp, [esi + edx]
mov dword [esp + 0x70], ebp
jmp case.default.0x428b77
mov ecx, dword [esp + 0x74]
lea ebx, [eax + ecx]
mov dword [esp + 0x74], ebx
jmp case.default.0x428b77
mov eax, dword [esp + 0x78]
sub eax, esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x78], eax
jmp case.default.0x428b77
mov ecx, dword [esp + 0x7c]
sub ecx, eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x7c], ecx
mov edx, dword [esp + 0x80]
mov ecx, dword [esp + 0x84]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x98]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x9c]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x28]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x2c]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x34]
mov dword [eax + 4], ecx
push edx
mov dword [eax + 8], ebp
push edi
mov dword [eax + 0xc], ebx
call fcn.00428a90
mov ebp, dword [esp + 0x98]
mov ebx, dword [esp + 0x9c]
mov esi, dword [esp + 0xa0]
mov edi, dword [esp + 0x5c]
add esp, 0x28
add dword [esp + 0x28], 1
mov eax, dword [esp + 0x28]
jmp 0x428af6
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x14]
push eax
push esi
push ebx
push ebp
push ecx
call dword [sym.imp.GDI32.dll_Rectangle]
mov edi, dword [edi]
xor eax, eax
cmp edi, eax
jle 0x428d32
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], eax
mov word [esp + 0x3c], ax
lea edx, [esp + 0x38]
push edx
add edi, 0x1f4
push edi
mov dword [esp + 0x68], eax
call fcn.00442450
mov eax, dword [esp + 0x84]
add esp, 8
cmp dword [esp + 0x50], 8
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], esi
jae 0x428c9d
lea eax, [esp + 0x3c]
mov edx, dword [esp + 0x14]
push 0x410
lea ecx, [esp + 0x1c]
push ecx
push 0xffffffffffffffff
push eax
push edx
call dword [sym.imp.USER32.dll_DrawTextW]
mov ecx, dword [esp + 0x20]
sub ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x24]
sub edi, dword [esp + 0x1c]
mov eax, esi
sub eax, ecx
sub eax, ebp
cdq
sub eax, edx
mov esi, eax
mov eax, dword [esp + 0x7c]
sub eax, edi
sub eax, ebx
cdq
sar esi, 1
sub eax, edx
add esi, ebp
sar eax, 1
add eax, ebx
mov dword [esp + 0x18], esi
add esi, ecx
mov dword [esp + 0x1c], eax
add eax, edi
mov dword [esp + 0x20], esi
mov esi, 8
cmp dword [esp + 0x50], esi
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x3c]
jae 0x428d0a
lea eax, [esp + 0x3c]
mov edx, dword [esp + 0x14]
push 0x10
lea ecx, [esp + 0x1c]
push ecx
push 0xffffffffffffffff
push eax
push edx
call dword [sym.imp.USER32.dll_DrawTextW]
cmp dword [esp + 0x50], esi
jb 0x428d32
mov eax, dword [esp + 0x3c]
push eax
call fcn.004775de
add esp, 4
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.004777ea
add esp, 0x50
ret