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

Disassembly:
push 0xffffffffffffffff
push 0x47db30
mov eax, dword fs:[0]
push eax
sub esp, 0x78
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b445c]
xor eax, esp
push eax
lea eax, [esp + 0x8c]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_GetParent]
push eax
call edi
push eax
call fcn.0044da1d
push eax
lea ecx, [esp + 0x7c]
call fcn.004523b4
mov dword [esp + 0x94], 0
mov edx, dword [esi + 0x20]
lea ecx, [esp + 0x38]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x58]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esi + 0x20]
lea edx, [esp + 0x58]
push edx
push eax
call edi
push eax
call fcn.0044da1d
mov ecx, eax
call fcn.00452118
cmp dword [esi + 0x154], 0
mov ebp, dword [sym.imp.GDI32.dll_BitBlt]
jne 0x403e0e
mov ecx, dword [esp + 0x7c]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esi + 0x150]
call fcn.00452321
mov eax, dword [esp + 0x44]
sub eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
sub ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x7c]
push eax
push ecx
push edx
lea edi, [esi + 0x160]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, edi
call fcn.004525e8
test edi, edi
je 0x403dc5
mov edi, dword [edi + 4]
mov eax, dword [esi + 0x154]
push edi
push eax
call fcn.0045266d
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x40]
sub ecx, dword [esp + 0x38]
push 0xcc0020
push edx
mov edx, dword [esp + 0x60]
push edx
mov edx, dword [esp + 0x88]
mov dword [esi + 0x168], eax
mov eax, dword [esp + 0x50]
sub eax, dword [esp + 0x48]
push edx
push eax
mov eax, dword [esi + 0x154]
push ecx
push 0
push 0
push eax
call ebp
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
sub eax, dword [esp + 0x3c]
sub ecx, dword [esp + 0x38]
lea edx, [esi + 0x150]
test edx, edx
je 0x403e2b
mov edx, dword [edx + 4]
mov ebx, dword [esp + 0x9c]
push 0xcc0020
push 0
push 0
push edx
push eax
push ecx
mov ecx, dword [ebx + 4]
push 0
push 0
push ecx
call ebp
cmp dword [esi + 0x58], 0
je 0x4040d7
cmp dword [esi + 0x68], 0
je 0x4040d7
lea ecx, [esp + 0x30]
call fcn.00403960
mov byte [esp + 0x94], 1
mov eax, dword [esp + 0x44]
sub eax, dword [esp + 0x3c]
mov edi, dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov esi, dword [sym.imp.USER32.dll_SetRect]
mov ecx, 0xff
xor ebp, ebp
test eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ecx
jle 0x403f5a
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x24], eax
movzx eax, byte [esp + 0x14]
xor edx, edx
mov dh, byte [esp + 0x1c]
mov dl, byte [esp + 0x18]
shl edx, 8
or edx, eax
push edx
call edi
push eax
lea ecx, [esp + 0x34]
call fcn.004525e8
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x3c]
add eax, 0xffffffff
cmp ebp, eax
lea eax, [ecx + ebp]
jne 0x403ef3
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x3c]
push ecx
push eax
push edx
lea eax, [esp + 0x78]
push eax
jmp 0x403f07
mov edx, dword [esp + 0x40]
lea ecx, [eax + 1]
push ecx
push edx
push eax
mov eax, dword [esp + 0x44]
push eax
lea ecx, [esp + 0x78]
push ecx
call esi
mov edx, dword [esp + 0x34]
mov ecx, dword [ebx + 4]
push edx
lea eax, [esp + 0x6c]
push eax
push ecx
call dword [sym.imp.USER32.dll_FillRect]
lea ecx, [esp + 0x30]
call fcn.0045263b
cmp ebp, dword [esp + 0x24]
mov eax, 2
jge 0x403f40
sub dword [esp + 0x14], eax
sub dword [esp + 0x18], eax
sub dword [esp + 0x1c], 1
jmp 0x403f4d
add dword [esp + 0x14], eax
add dword [esp + 0x18], eax
add dword [esp + 0x1c], 1
add ebp, 1
cmp ebp, dword [esp + 0x20]
jl 0x403ea9
mov dword [esp + 0x28], vtable.CGdiObject.0
mov dword [esp + 0x2c], 0
mov byte [esp + 0x94], 2
mov dword [esp + 0x28], vtable.CBrush.0
mov byte [esp + 0x94], 3
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x44]
push edx
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0x44]
push ecx
push eax
lea edx, [esp + 0x58]
push edx
call esi
push 0xe7d3c9
call edi
push eax
lea ecx, [esp + 0x2c]
call fcn.004525e8
mov eax, dword [esp + 0x2c]
mov edx, dword [ebx + 4]
mov ebp, dword [sym.imp.USER32.dll_FillRect]
push eax
lea ecx, [esp + 0x4c]
push ecx
push edx
call ebp
lea ecx, [esp + 0x28]
call fcn.0045263b
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
push edx
push eax
lea ecx, [eax - 1]
mov eax, dword [esp + 0x44]
push eax
push ecx
lea ecx, [esp + 0x58]
push ecx
call esi
push 0xe7d3c9
call edi
push eax
lea ecx, [esp + 0x2c]
call fcn.004525e8
mov edx, dword [esp + 0x2c]
mov ecx, dword [ebx + 4]
push edx
lea eax, [esp + 0x4c]
push eax
push ecx
call ebp
lea ecx, [esp + 0x28]
call fcn.0045263b
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
lea ecx, [eax + 1]
push ecx
push edx
push eax
mov eax, dword [esp + 0x44]
push eax
lea ecx, [esp + 0x58]
push ecx
call esi
push 0xe7d3c9
call edi
push eax
lea ecx, [esp + 0x2c]
call fcn.004525e8
mov edx, dword [esp + 0x2c]
mov ecx, dword [ebx + 4]
push edx
lea eax, [esp + 0x4c]
push eax
push ecx
call ebp
lea ecx, [esp + 0x28]
call fcn.0045263b
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
push eax
lea ecx, [eax - 1]
mov eax, dword [esp + 0x3c]
push edx
push ecx
push eax
lea ecx, [esp + 0x58]
push ecx
call esi
push 0xe7d3c9
call edi
push eax
lea ecx, [esp + 0x2c]
call fcn.004525e8
mov edx, dword [esp + 0x2c]
mov ecx, dword [ebx + 4]
push edx
lea eax, [esp + 0x4c]
push eax
push ecx
call ebp
lea ecx, [esp + 0x28]
call fcn.0045263b
mov byte [esp + 0x94], 1
mov esi, vtable.CBrush.0
mov dword [esp + 0x28], esi
mov byte [esp + 0x94], 1
lea ecx, [esp + 0x28]
call fcn.004037f0
mov byte [esp + 0x94], 0
mov dword [esp + 0x30], esi
mov byte [esp + 0x94], 0
lea ecx, [esp + 0x30]
call fcn.004037f0
mov dword [esp + 0x94], 0xffffffff
lea ecx, [esp + 0x78]
call fcn.00452408
mov ecx, dword [esp + 0x8c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x84
ret 4