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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x174
mov eax, dword [0x9c48d0]
xor eax, esp
mov dword [esp + 0x170], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
cmp byte [ebx + 0xb2], 0
push esi
push edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x21], 0x1010000
je 0x41120c
cmp byte [ebx + 0xb1], 0
jne 0x41121a
cmp dword [0x9f43ec], 0
mov byte [esp + 0x20], 1
je 0x41121f
mov byte [esp + 0x20], 0
lea eax, [esp + 0x18]
push eax
call fcn.00405560
mov edi, eax
add esp, 4
mov dword [esp + 0x10], edi
test edi, edi
jne 0x41124b
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x170]
xor ecx, esp
call fcn.0065865c
mov esp, ebp
pop ebp
ret
mov esi, dword [edi + 4]
test esi, esi
je 0x4112a5
mov eax, dword [ebx + 0xc8]
test eax, eax
je 0x411270
cmp byte [ebp + 0xc], 0
je 0x411270
push eax
mov eax, dword [edi + 0x380]
call fcn.0043e640
jmp 0x4112a5
test esi, esi
je 0x4112a5
mov eax, dword [ebx + 0xcc]
test eax, eax
jle 0x4112a5
cmp byte [ebp + 0xc], 0
je 0x4112a5
mov ecx, esi
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x64]
call eax
test al, al
je 0x4112a5
mov ecx, dword [edi + 4]
mov edx, dword [ecx]
mov eax, dword [ebx + 0xcc]
mov edx, dword [edx + 0x18]
push 0
push eax
call edx
mov eax, dword [ebx + 0xe8]
test eax, eax
je 0x4112ba
push eax
mov esi, edi
call fcn.00410d30
add esp, 4
cmp dword [edi + 4], 0
je 0x411770
cmp byte [ebp + 0xc], 0
je 0x411770
mov al, byte [ebx + 0xd1]
test al, al
jne 0x4112e4
cmp byte [ebx + 0xd2], al
je 0x411315
test al, al
je 0x4112ed
cmp byte [edi + 0x324], 0
jne 0x4112ff
cmp byte [ebx + 0xd2], 0
je 0x411306
cmp dword [edi + 0x328], 0
je 0x411306
mov ecx, edi
call fcn.0040a5c0
mov bl, byte [ebx + 0xd1]
call fcn.0040a3e0
mov ebx, dword [esp + 0x14]
mov eax, dword [ebx + 0xd4]
test eax, eax
je 0x411339
cmp dword [edi + 4], 0
je 0x411339
mov ecx, dword [edi + 4]
mov edx, dword [ecx]
push 0
push eax
mov eax, dword [edx + 0x24]
call eax
mov esi, edi
call fcn.00423300
fld dword [ebx + 0xd8]
fld dword [0x9adb40]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x411647
fld dword [ebx + 0xd8]
xor eax, eax
fstp dword [esp + 0x28]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov byte [esp + 0xf], al
cmp dword [edi + 4], eax
je 0x41161e
mov ecx, dword [edi + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x78]
call eax
test eax, eax
je 0x41161e
cmp dword [edi + 4], 0
je 0x41139d
mov ecx, dword [edi + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x78]
call eax
mov esi, eax
mov dword [esp + 0x2c], esi
jmp 0x4113a9
mov dword [esp + 0x2c], 0
mov esi, dword [esp + 0x2c]
fld dword [esp + 0x28]
fld st(0)
fld qword [0x9ad8c8]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x4114ee
fld qword [0x9ad8b8]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x411619
cmp byte [edi + 0x160], 0
je 0x41155d
mov eax, dword [edi + 0x174]
test eax, eax
je 0x41155d
xor esi, esi
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
cmp dword [eax], esi
jbe 0x411477
mov dword [esp + 0x10], esi
mov eax, dword [eax + 0xc]
add eax, dword [esp + 0x10]
lea ecx, [esp + 0x38]
push ecx
push eax
mov eax, dword [esp + 0x34]
call fcn.0042bac0
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
lea eax, [esp + 0x60]
lea ecx, [esp + 0x28]
call fcn.00420640
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
add dword [esp + 0x10], 0x28
mov dword [esp + 0x24], eax
mov eax, dword [edi + 0x174]
inc esi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
cmp esi, dword [eax]
jb 0x41140c
xor esi, esi
mov eax, dword [edi + 0xc]
lea ecx, [esp + 0x50]
push ecx
push eax
mov dword [esp + 0x4c], esi
call dword [sym.imp.USER32.dll_GetClientRect]
test eax, eax
je 0x4114a2
mov esi, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
sub esi, dword [esp + 0x50]
sub eax, dword [esp + 0x54]
mov dword [esp + 0x44], eax
mov eax, esi
cdq
sub eax, edx
sar eax, 1
lea ecx, [ebx + ebx]
sub ecx, eax
mov eax, dword [esp + 0x44]
add ecx, dword [esp + 0x20]
cdq
sub eax, edx
mov edx, dword [esp + 0x1c]
mov esi, eax
sar esi, 1
lea eax, [edx + edx]
sub eax, esi
mov esi, dword [esp + 0x20]
add eax, dword [esp + 0x24]
add esi, ebx
cmp ecx, ebx
jl 0x4114dc
mov ebx, esi
cmp ecx, esi
jg 0x4114dc
mov ebx, ecx
mov ecx, dword [esp + 0x24]
add ecx, edx
mov dword [esp + 0x30], ebx
cmp eax, edx
jge 0x4114f5
mov eax, edx
jmp 0x4114fb
fstp st(0)
jmp 0x411619
cmp eax, ecx
jle 0x4114fb
mov eax, ecx
mov esi, dword [esp + 0x2c]
push eax
push ebx
mov dword [esp + 0x3c], eax
call fcn.00442cc0
mov edx, dword [esi]
mov ebx, eax
mov eax, dword [edx + 0x64]
push ebx
mov ecx, esi
call eax
test al, al
je 0x411554
mov edx, dword [esi]
mov eax, dword [edx + 0x64]
push ebx
mov ecx, esi
call eax
test al, al
je 0x411554
mov esi, dword [esi + 0x2c]
test esi, esi
je 0x411554
imul ebx, ebx, 0x68
lea eax, [ebx + esi - 0x68]
test eax, eax
je 0x411554
fldz
fcomp dword [eax + 0x54]
fnstsw ax
test ah, 5
jp 0x411554
mov ebx, dword [esp + 0x14]
mov byte [esp + 0xf], 1
jmp 0x41161e
mov ebx, dword [esp + 0x14]
jmp 0x411619
call fcn.00442190
mov edx, dword [esi]
mov dword [esp + 0x14], eax
push eax
mov eax, dword [edx + 0x64]
mov ecx, esi
call eax
test al, al
je 0x41161e
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x41161e
mov ecx, dword [esp + 0x14]
imul ecx, ecx, 0x68
lea ecx, [ecx + eax - 0x68]
test ecx, ecx
je 0x41161e
mov edx, dword [edi + 0x350]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [edi + 0x354]
mov dword [eax + 4], edx
mov edx, dword [edi + 0x358]
mov dword [eax + 8], edx
mov edx, dword [edi + 0x35c]
mov dword [eax + 0xc], edx
add ecx, 0x58
lea eax, [esp + 0x60]
call fcn.00412340
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
push ecx
push eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
call fcn.00442cc0
cmp dword [esp + 0x58], 0
mov dword [esp + 0x14], eax
je 0x411619
cmp dword [esp + 0x5c], 0
je 0x411619
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x64]
mov ecx, esi
call eax
test al, al
je 0x411619
mov eax, dword [esp + 0x14]
mov edi, esi
call fcn.00441bd0
mov edi, dword [esp + 0x10]
mov byte [esp + 0xf], 1
test al, al
jne 0x41161e
mov byte [esp + 0xf], 0
movzx eax, byte [esp + 0xf]
fld dword [esp + 0x28]
mov ecx, dword [edi + 4]
mov edx, dword [ecx]
mov edx, dword [edx + 0x30]
neg eax
sbb eax, eax
lea esi, [esp + 0x30]
and eax, esi
push eax
push ecx
fstp dword [esp]
call edx
mov esi, edi
call fcn.00423300
cmp dword [ebx + 0xdc], 0xffffffff
jne 0x411659
cmp dword [ebx + 0xe0], 0xffffffff
je 0x4116d6
cmp dword [edi + 4], 0
je 0x4116d6
mov ecx, dword [edi + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 0x78]
call edx
test eax, eax
je 0x4116d6
cmp dword [edi + 4], 0
je 0x411681
mov ecx, dword [edi + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 0x78]
call edx
mov esi, eax
jmp 0x411683
xor esi, esi
lea eax, [esp + 0x38]
push eax
mov eax, esi
call fcn.00444c80
fild dword [ebx + 0xdc]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
fstp qword [esp + 0x40]
sub esp, 0x18
fild dword [ebx + 0xe0]
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x58]
mov dword [eax + 4], edx
fstp qword [esp + 0x60]
mov edx, dword [esp + 0x5c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x60]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x64]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edx
call fcn.00444d80
cmp dword [ebx + 0xbc], 0
je 0x411770
cmp dword [ebx + 0xc0], 0
je 0x411770
mov eax, edi
call fcn.00401a70
test eax, eax
je 0x411770
mov eax, edi
call fcn.00401a70
cmp dword [eax + 0x14], 0
je 0x411770
lea esi, [esp + 0x60]
call fcn.00412900
mov eax, dword [ebx + 0xbc]
call fcn.00455200
mov esi, eax
mov eax, edi
call fcn.00401a70
mov eax, dword [eax + 0x14]
mov edx, dword [eax]
mov edx, dword [edx + 8]
lea ecx, [esp + 0x60]
push ecx
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [ebx + 0xc0]
push 0
push ecx
push esi
mov ecx, eax
call edx
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x60]
push ecx
push edx
push eax
mov eax, dword [ebx + 0xc0]
push eax
push esi
push edi
call fcn.004257c0
push esi
call fcn.00658a01
add esp, 0x1c
lea eax, [esp + 0x60]
call fcn.00412950
mov ecx, dword [esp + 0x17c]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0065865c
mov esp, ebp
pop ebp
ret