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

Disassembly:
sub esp, 0x28
push ebx
push ebp
mov ebp, ecx
mov eax, dword [ebp + 0xf0]
mov ecx, dword [eax + 0x28]
mov eax, dword [ebp + 0xf4]
push esi
push edi
xor edi, edi
or esi, 0xffffffff
cmp eax, 2
mov dword [esp + 0x10], ebp
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], ecx
je 0x44fa90
cmp eax, 3
je 0x44fa90
cmp dword [ebp + 0xec], 2
mov dword [esp + 0x18], edi
jne 0x44fa98
mov dword [esp + 0x18], 1
xor ebx, ebx
cmp ecx, edi
mov dword [esp + 0x14], ebx
jle 0x44fb64
jmp 0x44fab0
xor edi, edi
lea ebx, [ebx]
cmp ebx, edi
jl 0x44fad9
mov eax, dword [ebp + 0xf0]
mov ecx, dword [eax + 0x28]
cmp ebx, ecx
jge 0x44fad9
cmp ebx, ecx
jge 0x44fad3
cmp ebx, ecx
jge 0x44fdac
mov ecx, dword [eax + 0x24]
mov edi, dword [ecx + ebx*4]
mov dword [esp + 0x20], edi
jmp 0x44fadd
mov dword [esp + 0x20], edi
mov edx, dword [edi]
push 0
mov ecx, edi
call dword [edx + 0x78]
test eax, eax
je 0x44fd96
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x120]
test eax, eax
je 0x44fd96
lea ecx, [edi + 0xbc]
mov eax, ecx
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov ebx, dword [eax + 8]
mov ebp, dword [eax + 0xc]
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x164], 0
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], ecx
jne 0x44fbb3
mov eax, dword [edi + 0x90]
test eax, eax
je 0x44fca3
mov eax, dword [esp + 0x18]
or esi, 0xffffffff
test eax, eax
jne 0x44fba6
mov eax, dword [esp + 0x40]
cmp ecx, dword [eax + 4]
jle 0x44fbfc
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x44fdf4
xor edi, edi
mov ecx, dword [ebp + 0x1c]
lea eax, [esp + 0x28]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x180]
test eax, eax
je 0x44fdb1
mov eax, dword [esp + 0x44]
push eax
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov ecx, dword [esp + 0x48]
mov dword [ecx], 0xffffffff
mov dword [ebp + 0x140], edi
jmp 0x44fe01
mov edi, dword [esp + 0x40]
cmp ebx, dword [edi]
jl 0x44fb52
jmp 0x44fca7
mov eax, dword [esp + 0x18]
test eax, eax
mov eax, dword [esp + 0x40]
jne 0x44fc91
mov eax, dword [eax + 4]
cmp eax, ecx
jl 0x44fd8e
cmp eax, ebp
jg 0x44fd8e
cmp esi, 0xffffffff
je 0x44fbfc
mov ecx, dword [esp + 0x40]
lea eax, [edx + ebx]
cdq
sub eax, edx
mov edx, dword [ecx]
sar eax, 1
sub eax, edx
cdq
xor eax, edx
sub eax, edx
cmp esi, eax
jle 0x44fd80
mov edx, dword [esp + 0x28]
lea eax, [edx + ebx]
cdq
sub eax, edx
mov edx, dword [esp + 0x40]
mov edi, dword [edx]
mov ecx, eax
sar ecx, 1
mov eax, ecx
sub eax, edi
cdq
mov esi, eax
mov eax, dword [esp + 0x20]
xor esi, edx
mov dword [esp + 0x1c], eax
xor eax, eax
sub esi, edx
cmp ecx, edi
mov ecx, dword [esp + 0x4c]
setl al
test eax, eax
mov dword [ecx], eax
je 0x44fd66
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
dec edx
cmp eax, edx
jge 0x44fd59
mov ecx, dword [esp + 0x10]
lea edi, [eax + 1]
push edi
call fcn.0044f650
mov ecx, dword [eax + 0x94]
test ecx, ecx
jne 0x44fd59
mov ecx, dword [esp + 0x10]
push edi
call fcn.0044f650
mov ecx, dword [eax + 0x90]
test ecx, ecx
jne 0x44fd59
mov ecx, dword [esp + 0x2c]
push ebp
lea eax, [ebx + 6]
push eax
push ecx
mov ecx, dword [esp + 0x50]
push ebx
call fcn.00423406
jmp 0x44fd80
mov eax, dword [eax]
cmp eax, edx
jl 0x44fd8e
cmp eax, ebx
jg 0x44fd8e
mov edi, dword [esp + 0x40]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x44fbd6
cmp esi, 0xffffffff
je 0x44fcd2
lea eax, [ecx + ebp]
cdq
sub eax, edx
mov edx, dword [edi + 4]
sar eax, 1
sub eax, edx
cdq
xor eax, edx
sub eax, edx
cmp esi, eax
jle 0x44fd80
mov edi, dword [edi + 4]
lea eax, [ecx + ebp]
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
mov eax, ecx
sub eax, edi
cdq
mov esi, eax
xor esi, edx
xor eax, eax
sub esi, edx
mov edx, dword [esp + 0x20]
cmp ecx, edi
mov ecx, dword [esp + 0x4c]
setl al
mov dword [esp + 0x1c], edx
test eax, eax
mov dword [ecx], eax
je 0x44fd48
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
dec edx
cmp eax, edx
jge 0x44fd3b
mov ecx, dword [esp + 0x10]
inc eax
push eax
call fcn.0044f650
mov ecx, dword [eax + 0x94]
test ecx, ecx
jne 0x44fd3b
mov ecx, dword [esp + 0x28]
lea eax, [ebp + 6]
push eax
push ebx
push ebp
push ecx
mov ecx, dword [esp + 0x54]
call fcn.00423406
jmp 0x44fd80
mov edx, dword [esp + 0x28]
push ebp
push ebx
add ebp, 0xfffffffa
push ebp
push edx
jmp 0x44fd75
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
lea ecx, [eax + 6]
push ecx
push ebx
push eax
push edx
jmp 0x44fd75
mov edx, dword [esp + 0x2c]
push ebp
push ebx
push edx
add ebx, 0xfffffffa
push ebx
jmp 0x44fd75
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
push ebp
lea ecx, [eax + 6]
push ecx
push edx
push eax
mov eax, dword [esp + 0x54]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov dword [ecx + 0x140], edx
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
inc ebx
cmp ebx, eax
mov dword [esp + 0x14], ebx
jl 0x44faa8
jmp 0x44fb56
call fcn.004f96a8
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x28]
add ecx, 0xfffffffe
push ecx
mov ecx, dword [esp + 0x30]
lea edx, [eax + 8]
push edx
mov edx, dword [esp + 0x4c]
add ecx, 2
push ecx
add eax, 2
push eax
push edx
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
mov dword [eax], 1
mov dword [ecx], 0xffffffff
mov dword [ebp + 0x140], edi
jmp 0x44fe01
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0x7c]
mov ecx, dword [esp + 0x48]
mov dword [ecx], eax
mov edx, dword [esp + 0x1c]
cmp dword [esp + 0x3c], edx
jne 0x44fe16
mov eax, dword [esp + 0x44]
push eax
call dword [sym.imp.USER32.dll_SetRectEmpty]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 0x14