Function at 0x41fc60
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.004d2c8b
mov ebp, dword [sym.imp.USER32.dll_SetRect]
test ah, 4
je 0x41fc9a
mov ecx, ebx
call fcn.004d2c8b
test ah, 8
jne 0x41fca6
mov ecx, ebx
call fcn.004d2c8b
test ah, 8
je 0x41fcef
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 0x41fd06
mov dword [esp + 0x10], 1
mov eax, dword [ebx + 0x60]
test eax, eax
je 0x41fd12
add dword [esp + 0x10], 2
mov eax, dword [ebx + 0x68]
test eax, eax
je 0x41fd1e
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 0x41fdad
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.004d2c8b
test ah, 2
je 0x41fd7f
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 0x41fdad
pop edi
pop esi
pop ebp
mov eax, 0xfffffffb
pop ebx
add esp, 0x6c
ret 8
mov ecx, ebx
call fcn.004d2c8b
test ah, 2
mov eax, dword [esp + 0x10]
je 0x41ff0e
cmp eax, 2
je 0x41fead
cmp eax, 3
je 0x41fead
cmp eax, 4
je 0x41fde1
cmp eax, 5
jne 0x41ffd1
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 0x41ffcb
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 0x41ffd1
cmp eax, 2
je 0x41ff99
cmp eax, 3
je 0x41ff99
cmp eax, 4
je 0x41ff2a
cmp eax, 5
jne 0x41ffd1
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 0x41ffcb
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 0x42000d
mov eax, dword [ebx + 0x68]
test eax, eax
je 0x42000d
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 0x420021
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 0x420044
push edi
lea eax, [esp + 0x40]
push ebp
push eax
call esi
test eax, eax
je 0x420044
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 0x420067
push edi
lea ecx, [esp + 0x50]
push ebp
push ecx
call esi
test eax, eax
je 0x420067
pop edi
pop esi
pop ebp
mov eax, 0xfffffffd
pop ebx
add esp, 0x6c
ret 8
cmp dword [esp + 0x10], 4
jl 0x420091
mov eax, dword [ebx + 0x6c]
test eax, eax
je 0x420091
push edi
lea edx, [esp + 0x70]
push ebp
push edx
call esi
test eax, eax
je 0x420091
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 0x4200d6
mov eax, dword [ebx + 0x15c]
mov eax, dword [eax + esi*4]
mov cl, byte [eax + 0x30]
test cl, cl
je 0x4200bd
mov ecx, dword [eax + 0x2c]
push edi
push ebp
push ecx
call dword [sym.imp.GDI32.dll_PtInRegion]
test eax, eax
jne 0x4200ca
mov eax, dword [ebx + 0x160]
inc esi
cmp esi, eax
jge 0x4200d6
jmp 0x42009d
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