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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x463ced
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 0xc]
lea ecx, [esp + 0x24]
mov esi, dword [ebp + 8]
mov dword [esp + 0x18], edi
call dword [0x46a334]
and dword [esp + 0x78], 0
and dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0x407dbc
mov byte [esp + 0x78], 1
test esi, esi
je 0x43ca0e
lea eax, [esp + 0x58]
push eax
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_GetClientRect]
push dword [esi + 4]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x28]
call dword [0x46a330]
cmp dword [ebx + 0x6c], 0
je 0x43c83b
call fcn.0043cdec
test eax, eax
jne 0x43c83b
push dword [ebx + 0x74]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
jmp 0x43c844
push dword [ebx + 0x70]
call dword [sym.imp.USER32.dll_GetSysColorBrush]
push eax
lea ecx, [esp + 0x20]
call dword [0x46a3d4]
test edi, edi
je 0x43c86c
mov edi, dword [edi]
neg edi
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x18]
mov edi, dword [edi + 4]
neg edi
mov dword [esp + 0x10], edi
xor edi, edi
jmp 0x43c876
xor edi, edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], edi
call fcn.0043cdec
test eax, eax
jne 0x43c9e8
push 4
mov ecx, esi
call dword [0x46a33c]
push edi
push edi
push edi
push dword [esi + 4]
mov dword [esp + 0x4c], eax
call dword [sym.imp.GDI32.dll_SetBrushOrgEx]
cmp dword [ebx + 0x7c], 0
mov ecx, edi
mov dword [esp + 0x18], edi
jle 0x43c9da
mov eax, dword [ebx + 0x80]
mov edx, dword [eax + ecx*4]
mov eax, dword [ebx + 0x8c]
mov dword [esp + 0x38], edx
mov edi, dword [eax + ecx*4]
test edx, edx
je 0x43c9cc
push dword [edx + 4]
push dword [esp + 0x2c]
call dword [0x46a344]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x40]
push eax
push 0x18
push dword [ecx + 4]
call dword [sym.imp.GDI32.dll_GetObjectW]
sub edi, 0
je 0x43c982
dec edi
je 0x43c94f
dec edi
je 0x43c939
dec edi
jne 0x43c9b2
push ecx
push dword [esp + 0x4c]
lea eax, [esp + 0x2c]
push dword [esp + 0x4c]
push ecx
push ecx
push eax
push dword [esp + 0x60]
mov eax, dword [esp + 0x7c]
sub eax, dword [esp + 0x74]
push eax
mov eax, dword [esp + 0x84]
sub eax, dword [esp + 0x7c]
sub eax, dword [esp + 0x68]
add eax, dword [esp + 0x30]
push eax
jmp 0x43c975
push ecx
push dword [esp + 0x4c]
lea eax, [esp + 0x2c]
push dword [esp + 0x4c]
push ecx
push ecx
push eax
push dword [esp + 0x60]
jmp 0x43c968
push ecx
push dword [esp + 0x4c]
lea eax, [esp + 0x2c]
push dword [esp + 0x4c]
push ecx
push ecx
push eax
mov eax, dword [esp + 0x7c]
sub eax, dword [esp + 0x74]
push eax
mov eax, dword [esp + 0x7c]
sub eax, dword [esp + 0x74]
push eax
push dword [esp + 0x30]
push dword [esp + 0x38]
mov ecx, esi
call fcn.0043c5fc
jmp 0x43c9b2
mov ecx, dword [esp + 0x64]
sub ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x58]
push 0xcc0020
push 0
push 0
push dword [esp + 0x34]
push ecx
push eax
push dword [esp + 0x28]
push dword [esp + 0x30]
push dword [esi + 4]
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x34]
test eax, eax
je 0x43c9bd
mov eax, dword [eax + 4]
push eax
push dword [esp + 0x2c]
call dword [0x46a344]
mov ecx, dword [esp + 0x18]
inc ecx
mov dword [esp + 0x18], ecx
cmp ecx, dword [ebx + 0x7c]
jl 0x43c8ad
push dword [esp + 0x3c]
mov ecx, esi
call dword [0x46a33c]
jmp 0x43c9fa
push dword [esp + 0x20]
lea eax, [esp + 0x5c]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_FillRect]
lea ecx, [esp + 0x1c]
call dword [0x46a24c]
lea ecx, [esp + 0x24]
call dword [0x46a338]
mov byte [esp + 0x78], 0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], 0x407dbc
call fcn.00429ee7
or dword [esp + 0x78], 0xffffffff
lea ecx, [esp + 0x24]
call dword [0x46a340]
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.00445fe0
mov esp, ebp
pop ebp
ret 8