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

Disassembly:
push 0xffffffffffffffff
push 0x425e88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push ebp
push esi
mov esi, ecx
lea eax, [esp + 0x64]
push edi
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x6c]
mov edi, dword [esp + 0x88]
add eax, 0x14
mov dword [esp + 0x20], 1
mov dword [esp + 0x6c], eax
inc eax
mov dword [esp + 0x18], eax
add eax, 0x20
mov dword [esp + 0x28], 0
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x24], 0
mov dword [esp + 0x1c], edx
lea ebp, [eax + 6]
mov dword [esp + 0x14], ebp
mov ecx, dword [esi + 0x784]
push ecx
lea ecx, [esp + 0x3c]
call fcn.00420f02
mov edx, dword [esp + 0x18]
lea ecx, [ebp + 0x2d]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x10]
lea ebx, [ebp - 6]
mov dword [esp + 0x4c], edx
test eax, eax
mov dword [esp + 0x48], ebx
mov dword [esp + 0x54], ecx
je 0x402cdb
mov eax, dword [eax + 4]
push eax
mov eax, dword [edi + 4]
lea edx, [esp + 0x4c]
push edx
push eax
call dword [sym.imp.USER32.dll_FillRect]
mov dword [esp + 0x38], vtable.CGdiObject.0
lea ecx, [esp + 0x38]
mov dword [esp + 0x80], 0
call fcn.00420eec
mov eax, dword [esp + 0x24]
xor ecx, ecx
mov cx, word [esi + 0x80]
mov dword [esp + 0x80], 0xffffffff
cmp eax, ecx
jge 0x402d2f
mov eax, dword [esp + 0x28]
test eax, eax
je 0x402f53
mov eax, dword [esp + 0x20]
cmp ax, word [esi + 0x748]
ja 0x402f53
mov ebp, eax
lea edx, [esp + 0x88]
and ebp, 0xffff
push ebp
push 0x434284
push edx
call fcn.0040c96b
mov eax, dword [esi + 0x784]
mov ecx, dword [esi + 0x74c]
mov dword [esp + 0x28], eax
lea eax, [ebp + ebp*2]
shl eax, 2
add esp, 0xc
mov edx, dword [ecx + eax + 8]
test edx, edx
jne 0x402df4
mov edx, dword [esi + 0x770]
mov ecx, dword [edx + eax + 8]
test ecx, ecx
jne 0x402df4
lea eax, [esp + 0x34]
mov ecx, esi
push eax
push ebp
call fcn.004024c0
test eax, eax
jne 0x402df4
lea ecx, [ebp*8]
sub ecx, ebp
lea eax, [esi + ecx*8]
mov ecx, dword [esi + ecx*8 + 0x78]
test ecx, ecx
je 0x402dbd
mov edx, dword [edi]
mov eax, dword [esi + 0x7a0]
jmp 0x402e59
cmp word [eax + 0x64], 0
je 0x402dd1
mov edx, dword [edi]
mov eax, dword [esi + 0x798]
jmp 0x402e59
mov ax, word [eax + 0x48]
cmp ax, 6
jne 0x402de5
mov edx, dword [edi]
mov eax, dword [esi + 0x79c]
jmp 0x402e59
mov edx, dword [edi]
test ax, ax
jne 0x402e53
mov eax, dword [esi + 0x7a0]
jmp 0x402e59
mov ecx, dword [esi + 0x794]
push ecx
lea ecx, [esp + 0x44]
call fcn.00420f02
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
add ecx, 0x2d
mov dword [esp + 0x58], ebx
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x10]
test eax, eax
mov dword [esp + 0x5c], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x64], ecx
je 0x402e2e
mov eax, dword [eax + 4]
push eax
mov eax, dword [edi + 4]
lea edx, [esp + 0x5c]
push edx
push eax
call dword [sym.imp.USER32.dll_FillRect]
lea ecx, [esp + 0x40]
call fcn.00403110
mov ecx, dword [esi + 0x794]
mov edx, dword [edi]
mov dword [esp + 0x1c], ecx
mov eax, dword [esi + 0x788]
push eax
mov ecx, edi
call dword [edx + 0x30]
mov edx, dword [edi]
lea eax, [esi + 0x7a8]
push eax
mov ecx, edi
call dword [edx + 0x28]
lea ecx, [ebp*8]
mov edx, dword [edi]
sub ecx, ebp
mov al, byte [esi + ecx*8 + 0x76]
lea ebp, [esi + ecx*8]
test al, al
je 0x402e8b
mov eax, dword [esi + 0x790]
jmp 0x402e8f
mov eax, dword [esp + 0x1c]
push eax
mov ecx, edi
call dword [edx + 0x2c]
lea ecx, [esp + 0x88]
push ecx
lea ecx, [esp + 0x30]
call fcn.0041ed3b
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
lea edx, [esp + 0x2c]
add eax, 0xffffffe2
push edx
push eax
push ebx
mov ecx, edi
mov dword [esp + 0x8c], 1
call fcn.004031b0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x80], 0xffffffff
call fcn.0041ed11
mov eax, dword [esp + 0x1c]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x2c]
mov al, byte [ebp + 0x7c]
mov edx, dword [edi]
cmp al, 1
lea eax, [esi + 0x7b8]
je 0x402eff
lea eax, [esi + 0x7b0]
push eax
mov ecx, edi
call dword [edx + 0x28]
add ebp, 0x66
lea ecx, [esp + 0x30]
push ebp
call fcn.0041ed3b
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x30]
add edx, 0xfffffff1
push ecx
push edx
push ebx
mov ecx, edi
mov dword [esp + 0x8c], 2
call fcn.004031b0
lea ecx, [esp + 0x30]
mov dword [esp + 0x80], 0xffffffff
call fcn.0041ed11
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x14]
inc eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
add ebp, 0x34
inc eax
mov dword [esp + 0x14], ebp
cmp eax, 7
mov dword [esp + 0x24], eax
jl 0x402ca6
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov ecx, 0x21
inc eax
add ebx, ecx
add edx, ecx
cmp eax, 6
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], edx
jl 0x402c8b
mov ecx, dword [esp + 0x78]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x74
ret 4