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

Disassembly:
sub esp, 0x6c
push ebx
mov ebx, ecx
push ebp
push esi
mov ecx, dword [ebx + 0x1c]
lea eax, [esp + 0x18]
push edi
push eax
push ecx
mov dword [esp + 0x1c], ebx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, ebx
call fcn.00564293
mov ebp, dword [sym.imp.USER32.dll_SetRect]
test ah, 4
je 0x43cb6a
mov ecx, ebx
call fcn.00564293
test ah, 8
jne 0x43cb76
mov ecx, ebx
call fcn.00564293
test ah, 8
je 0x43cbbf
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
sub edx, edi
push edx
mov edx, dword [esp + 0x24]
sub eax, edx
lea ecx, [esp + 0x20]
push eax
push 0
push 0
push ecx
call ebp
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x84]
mov ecx, dword [esp + 0x1c]
sub eax, edx
sub eax, ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
mov edx, dword [ebx + 0x70]
mov dword [esp + 0x10], 0
test edx, edx
je 0x43cbd6
mov dword [esp + 0x10], 1
mov eax, dword [ebx + 0x60]
test eax, eax
je 0x43cbe2
add dword [esp + 0x10], 2
mov eax, dword [ebx + 0x68]
test eax, eax
je 0x43cbee
add dword [esp + 0x10], 2
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
mov esi, eax
xor edi, edi
sub esi, ecx
sub esi, 3
test edx, edx
je 0x43cc7d
xor edx, edx
sub eax, ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], edx
lea edx, [esi + 1]
mov ecx, ebx
mov edi, esi
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
call fcn.00564293
test ah, 2
je 0x43cc4f
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
sub ecx, edx
push ecx
mov ecx, dword [esp + 0x20]
mov edx, eax
sub eax, esi
sub edx, ecx
sub eax, ecx
push edx
dec eax
push 0
push eax
lea eax, [esp + 0x3c]
push eax
call ebp
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x80]
push ecx
lea eax, [esp + 0x30]
push edx
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x43cc7d
pop edi
pop esi
pop ebp
mov eax, 0xfffffffb
pop ebx
add esp, 0x6c
ret 8
mov ecx, ebx
call fcn.00564293
test ah, 2
mov eax, dword [esp + 0x10]
je 0x43cdde
cmp eax, 2
je 0x43cd7d
cmp eax, 3
je 0x43cd7d
cmp eax, 4
je 0x43ccb1
cmp eax, 5
jne 0x43cea1
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x20]
sub eax, edi
sub ecx, ebx
mov edx, eax
push ecx
mov ecx, dword [esp + 0x20]
sub eax, esi
sub edx, ecx
sub eax, ecx
push edx
dec eax
push 0
push eax
lea eax, [esp + 0x7c]
push eax
call ebp
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
sub ecx, edx
mov edx, eax
lea ebx, [esi + esi]
sub edx, edi
push ecx
mov ecx, dword [esp + 0x20]
sub edx, esi
sub eax, ebx
sub edx, ecx
sub eax, edi
dec edx
sub eax, ecx
push edx
dec eax
push 0
push eax
lea eax, [esp + 0x5c]
push eax
call ebp
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
sub edx, dword [esp + 0x20]
lea ecx, [esi + esi*2]
push edx
mov edx, eax
sub edx, ebx
sub eax, ecx
sub edx, edi
sub eax, edi
mov ebx, edx
mov edx, dword [esp + 0x20]
sub eax, edx
sub ebx, edx
sub eax, 2
dec ebx
push ebx
push 0
push eax
lea eax, [esp + 0x4c]
push eax
call ebp
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
sub ecx, ebx
push ecx
mov edx, eax
lea ecx, [esi + esi*2]
sub edx, ecx
mov ecx, dword [esp + 0x20]
sub edx, edi
sub edx, ecx
sub edx, 2
push edx
lea edx, [esi*4]
sub eax, edx
push 0
sub eax, edi
sub eax, ecx
sub eax, 3
push eax
lea eax, [esp + 0x6c]
push eax
jmp 0x43ce9b
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
sub eax, edi
sub ecx, edx
mov edx, eax
push ecx
mov ecx, dword [esp + 0x20]
sub eax, esi
sub edx, ecx
sub eax, ecx
push edx
dec eax
push 0
push eax
lea eax, [esp + 0x5c]
push eax
call ebp
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
sub ecx, edx
mov edx, eax
push ecx
mov ecx, dword [esp + 0x20]
sub edx, edi
sub edx, esi
sub edx, ecx
dec edx
push edx
lea edx, [esi + esi]
sub eax, edx
push 0
sub eax, edi
sub eax, ecx
sub eax, 3
push eax
lea eax, [esp + 0x4c]
push eax
call ebp
jmp 0x43cea1
cmp eax, 2
je 0x43ce69
cmp eax, 3
je 0x43ce69
cmp eax, 4
je 0x43cdfa
cmp eax, 5
jne 0x43cea1
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
sub ecx, eax
lea ebx, [edi + esi + 1]
push ecx
push ebx
push 0
lea edx, [esp + 0x68]
push edi
push edx
call ebp
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
sub ecx, edx
lea eax, [edi + esi*2 + 1]
push ecx
push eax
push 0
lea edx, [esp + 0x48]
push ebx
push edx
call ebp
mov ecx, dword [esp + 0x28]
lea eax, [edi + esi*2]
lea edx, [esp + 0x4c]
lea ebx, [esi + eax + 2]
mov eax, dword [esp + 0x20]
sub ecx, eax
lea eax, [edi + esi*2 + 1]
push ecx
push ebx
push 0
push eax
push edx
call ebp
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
sub eax, edx
lea ecx, [edi + esi*4 + 3]
push eax
push ecx
push 0
lea edx, [esp + 0x78]
push ebx
push edx
jmp 0x43ce9b
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
sub eax, edx
lea ebx, [edi + esi + 1]
push eax
push ebx
push 0
lea ecx, [esp + 0x48]
push edi
push ecx
call ebp
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
sub edx, ecx
lea eax, [edi + esi*2 + 3]
push edx
push eax
push 0
lea ecx, [esp + 0x58]
push ebx
push ecx
call ebp
mov ebx, dword [esp + 0x14]
cmp dword [esp + 0x10], 4
jl 0x43cedd
mov eax, dword [ebx + 0x68]
test eax, eax
je 0x43cedd
mov edi, dword [esp + 0x84]
mov ebp, dword [esp + 0x80]
mov esi, dword [sym.imp.USER32.dll_PtInRect]
push edi
lea edx, [esp + 0x60]
push ebp
push edx
call esi
test eax, eax
je 0x43cef1
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x6c
ret 8
mov ebp, dword [esp + 0x80]
mov esi, dword [sym.imp.USER32.dll_PtInRect]
mov edi, dword [esp + 0x84]
mov eax, dword [ebx + 0x60]
test eax, eax
je 0x43cf14
push edi
lea eax, [esp + 0x40]
push ebp
push eax
call esi
test eax, eax
je 0x43cf14
pop edi
pop esi
pop ebp
mov eax, 0xfffffffe
pop ebx
add esp, 0x6c
ret 8
mov eax, dword [ebx + 0x64]
test eax, eax
je 0x43cf37
push edi
lea ecx, [esp + 0x50]
push ebp
push ecx
call esi
test eax, eax
je 0x43cf37
pop edi
pop esi
pop ebp
mov eax, 0xfffffffd
pop ebx
add esp, 0x6c
ret 8
cmp dword [esp + 0x10], 4
jl 0x43cf61
mov eax, dword [ebx + 0x6c]
test eax, eax
je 0x43cf61
push edi
lea edx, [esp + 0x70]
push ebp
push edx
call esi
test eax, eax
je 0x43cf61
pop edi
pop esi
pop ebp
mov eax, 0xfffffffc
pop ebx
add esp, 0x6c
ret 8
mov eax, dword [ebx + 0x160]
xor esi, esi
test eax, eax
jle 0x43cfa6
mov eax, dword [ebx + 0x15c]
mov eax, dword [eax + esi*4]
mov cl, byte [eax + 0x30]
test cl, cl
je 0x43cf8d
mov ecx, dword [eax + 0x2c]
push edi
push ebp
push ecx
call dword [sym.imp.GDI32.dll_PtInRegion]
test eax, eax
jne 0x43cf9a
mov eax, dword [ebx + 0x160]
inc esi
cmp esi, eax
jge 0x43cfa6
jmp 0x43cf6d
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret 8
pop edi
pop esi
pop ebp
mov eax, 0xfffffffa
pop ebx
add esp, 0x6c
ret 8