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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x418
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0x3dc]
mov edx, dword [eax + 4]
lea ebx, [esi + 0x3dc]
push edi
mov ecx, ebx
call edx
mov eax, dword [esi + 0xb0]
mov edx, dword [eax + 4]
lea ecx, [esi + 0xb0]
call edx
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
mov edx, dword [eax + 0x18]
call edx
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x18]
call eax
mov edx, dword [eax]
mov edx, dword [edx + 0x48]
lea ecx, [esp + 0x60]
push ecx
mov ecx, eax
call edx
fild dword [esp + 0x60]
sub esp, 0xc
lea eax, [esp + 0x74]
fdiv qword [0x657590]
fstp dword [esp + 0x24]
fld1
fstp dword [esp + 8]
fld dword [esp + 0x24]
fst dword [esp + 4]
fstp dword [esp]
push eax
call fcn.0045bdf8
fldz
mov eax, dword [esi + 8]
fst dword [esp + 0x6c]
fst dword [esp + 0x68]
add eax, 0xe7090
mov eax, dword [eax + 8]
fst dword [esp + 0x64]
fst dword [esp + 0x60]
add esp, 0x10
fst dword [esp + 0x4c]
fst dword [esp + 0x48]
fst dword [esp + 0x44]
fst dword [esp + 0x40]
fst dword [esp + 0x3c]
fst dword [esp + 0x38]
fst dword [esp + 0x34]
fst dword [esp + 0x30]
fst dword [esp + 0x2c]
fst dword [esp + 0x28]
fst dword [esp + 0x24]
fstp dword [esp + 0x20]
test eax, eax
je 0x4402fc
mov eax, dword [eax + 0xc]
jmp 0x4402fe
xor eax, eax
push 2
push 2
xor edi, edi
mov ecx, eax
call fcn.0045f251
mov eax, dword [esi + 0x40c]
cmp eax, 0x28
jg 0x4405a0
je case.0x440330.30
cmp eax, 0x1e
ja case.0x4405b5.52
movzx ecx, byte [eax + 0x4408e4]
jmp dword [ecx*4 + 0x4408d4]
fldz
mov edx, dword [esi + 0xf8]
mov edx, dword [edx + 0x5c]
push 0xffffffffffffffff
lea ecx, [esi + 0xf8]
sub esp, 8
fst dword [esp + 4]
lea eax, [esp + 0x74]
fstp dword [esp]
jmp 0x440816
fldz
mov eax, dword [esi + 0xf8]
mov eax, dword [eax + 0x5c]
push 0xffffffffffffffff
sub esp, 8
lea ecx, [esi + 0xf8]
fst dword [esp + 4]
lea edx, [esp + 0x74]
fstp dword [esp]
push edx
call eax
fldz
sub esp, 0xc
fstp dword [esp + 8]
fld dword [esp + 0x24]
lea ecx, [esp + 0x1b4]
fld qword [0x657be0]
fmul st(1)
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fstp dword [esp + 4]
fmul qword [0x657bd8]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fstp dword [esp]
push ecx
call fcn.0045bd91
add esp, 0x10
lea ecx, [esp + 0x20]
call fcn.00401d00
mov edx, dword [ebx]
mov eax, dword [edx + 4]
mov ecx, ebx
call eax
fldz
mov ecx, dword [esi + 0x4b0]
mov ecx, dword [esi + ecx*4 + 0x410]
xor edx, edx
push edx
shl eax, 0x18
push ecx
or eax, 0xffffff
push eax
sub esp, 8
fst dword [esp + 4]
lea edx, [esp + 0x34]
fstp dword [esp]
push edx
lea eax, [esp + 0x400]
lea edx, [esp + 0x80]
call fcn.00401200
push eax
lea eax, [esi + 0xa0]
call fcn.00491dca
jmp case.0x4405b5.52
mov eax, dword [ebx]
mov edx, dword [eax + 4]
mov ecx, ebx
call edx
fldz
mov edi, eax
mov eax, dword [esi + 0xf8]
mov eax, dword [eax + 0x5c]
shl edi, 0x18
or edi, 0xffffff
push edi
sub esp, 8
lea ecx, [esi + 0xf8]
fst dword [esp + 4]
lea edx, [esp + 0x74]
fstp dword [esp]
push edx
call eax
fldz
sub esp, 0xc
fstp dword [esp + 8]
fld dword [esp + 0x24]
lea ecx, [esp + 0x2b4]
fld qword [0x657be0]
fmul st(1)
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fstp dword [esp + 4]
fmul qword [0x657bd8]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fstp dword [esp]
push ecx
call fcn.0045bd91
add esp, 0x10
lea ecx, [esp + 0x20]
call fcn.00401d00
fldz
xor ecx, ecx
push ecx
mov eax, 4
push eax
push edi
sub esp, 8
fst dword [esp + 4]
lea edx, [esp + 0x34]
fstp dword [esp]
push edx
lea eax, [esp + 0x100]
lea edx, [esp + 0x80]
call fcn.00401200
push eax
lea eax, [esi + 0xa0]
call fcn.00491dca
mov eax, dword [ebx]
mov edx, dword [eax + 4]
mov ecx, ebx
call edx
fldz
or edi, 0xffffffff
sub edi, eax
mov eax, dword [esi + 0x18c]
mov eax, dword [eax + 0x5c]
shl edi, 0x18
or edi, 0xffffff
push edi
sub esp, 8
lea ecx, [esi + 0x18c]
fst dword [esp + 4]
lea edx, [esp + 0x74]
fstp dword [esp]
push edx
call eax
fldz
sub esp, 0xc
fstp dword [esp + 8]
fld dword [esp + 0x24]
fld qword [0x657bd0]
fmul st(1)
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fstp dword [esp + 4]
lea ecx, [esp + 0x3b4]
fmul qword [0x657bc8]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fstp dword [esp]
push ecx
call fcn.0045bd91
add esp, 0x10
lea ecx, [esp + 0x20]
call fcn.00401d00
fldz
mov ebp, dword [esi + 0x220]
push edi
sub esp, 8
fst dword [esp + 4]
lea edx, [esp + 0x2c]
fstp dword [esp]
push edx
lea ebx, [esi + 0x220]
lea eax, [esp + 0x238]
lea edx, [esp + 0x78]
call fcn.00401200
push eax
mov eax, dword [ebp + 0x5c]
mov ecx, ebx
call eax
jmp case.0x4405b5.52
sub eax, 0x32
cmp eax, 0xfb
ja case.0x4405b5.52
movzx ecx, byte [eax + 0x440914]
jmp dword [ecx*4 + 0x440904]
fldz
mov edx, dword [esi + 0x18c]
mov edx, dword [edx + 0x5c]
push 0xffffffffffffffff
sub esp, 8
lea ecx, [esi + 0x18c]
fst dword [esp + 4]
lea eax, [esp + 0x74]
fstp dword [esp]
push eax
call edx
fldz
sub esp, 0xc
fstp dword [esp + 8]
fld dword [esp + 0x24]
lea eax, [esp + 0x334]
fld qword [0x657bd0]
fmul st(1)
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fstp dword [esp + 4]
fmul qword [0x657bc8]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fstp dword [esp]
push eax
call fcn.0045bd91
add esp, 0x10
lea ecx, [esp + 0x20]
call fcn.00401d00
lea edi, [esi + 0x220]
lea eax, [esp + 0x128]
jmp 0x4407f3
fldz
mov eax, dword [esi + 0x18c]
mov eax, dword [eax + 0x5c]
push 0xffffffffffffffff
sub esp, 8
lea ecx, [esi + 0x18c]
fst dword [esp + 4]
lea edx, [esp + 0x74]
fstp dword [esp]
push edx
call eax
fld dword [esp + 0x18]
fld qword [0x657bd0]
sub esp, 0xc
fmul st(1)
lea ecx, [esp + 0x174]
fstp dword [esp + 0x28]
fmul qword [0x657bc8]
fstp dword [esp + 0x20]
fldz
fstp dword [esp + 8]
fld dword [esp + 0x28]
fstp dword [esp + 4]
fld dword [esp + 0x20]
fstp dword [esp]
push ecx
call fcn.0045bd91
add esp, 0x10
lea ecx, [esp + 0x20]
call fcn.00401d00
mov edx, dword [ebx]
mov eax, dword [edx + 4]
mov ecx, ebx
call eax
fldz
mov ebp, dword [esi + 0x220]
shl eax, 0x18
or eax, 0xffffff
push eax
sub esp, 8
fst dword [esp + 4]
lea ecx, [esp + 0x2c]
fstp dword [esp]
lea edi, [esi + 0x220]
push ecx
lea eax, [esp + 0x1f8]
lea edx, [esp + 0x78]
call fcn.00401200
mov edx, dword [ebp + 0x5c]
push eax
mov ecx, edi
call edx
fldz
sub esp, 0xc
fstp dword [esp + 8]
fld dword [esp + 0x28]
lea eax, [esp + 0x274]
fstp dword [esp + 4]
fld dword [esp + 0x20]
fstp dword [esp]
push eax
call fcn.0045bd91
add esp, 0x10
lea ecx, [esp + 0x20]
call fcn.00401d00
mov edx, dword [ebx]
mov eax, dword [edx + 4]
mov ecx, ebx
call eax
fldz
mov ebx, dword [esi + 0x2b4]
mov ecx, eax
or eax, 0xffffffff
sub eax, ecx
shl eax, 0x18
or eax, 0xffffff
push eax
sub esp, 8
lea edi, [esi + 0x2b4]
fst dword [esp + 4]
fstp dword [esp]
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x2f8]
lea edx, [esp + 0x78]
call fcn.00401200
push eax
mov eax, dword [ebx + 0x5c]
mov ecx, edi
call eax
jmp case.0x4405b5.52
fldz
mov edx, dword [esi + 0x18c]
mov edx, dword [edx + 0x5c]
push 0xffffffffffffffff
sub esp, 8
lea ecx, [esi + 0x18c]
fst dword [esp + 4]
lea eax, [esp + 0x74]
fstp dword [esp]
push eax
call edx
fldz
sub esp, 0xc
fstp dword [esp + 8]
fld dword [esp + 0x24]
lea eax, [esp + 0x374]
fld qword [0x657bd0]
fmul st(1)
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fstp dword [esp + 4]
fmul qword [0x657bc8]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fstp dword [esp]
push eax
call fcn.0045bd91
add esp, 0x10
lea ecx, [esp + 0x20]
call fcn.00401d00
lea edi, [esi + 0x2b4]
lea eax, [esp + 0xa8]
fldz
mov ebx, dword [edi]
push 0xffffffffffffffff
sub esp, 8
fst dword [esp + 4]
lea ecx, [esp + 0x2c]
fstp dword [esp]
push ecx
lea edx, [esp + 0x78]
call fcn.00401200
mov edx, dword [ebx + 0x5c]
mov ecx, edi
push eax
call edx
mov eax, dword [esi + 8]
cmp dword [eax + 0x20d8], 1
jne 0x440897
fldz
sub esp, 0xc
fst dword [esp + 8]
lea ecx, [esp + 0xb4]
fld dword [esp + 0x24]
fmul qword [0x657588]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fstp dword [esp + 4]
fstp dword [esp]
push ecx
call fcn.0045bd91
add esp, 0x10
lea ecx, [esp + 0x20]
call fcn.00401d00
fldz
mov ebx, dword [esi + 0x348]
push 0xffffffffffffffff
sub esp, 8
fst dword [esp + 4]
lea edx, [esp + 0x2c]
fstp dword [esp]
push edx
lea edi, [esi + 0x348]
lea eax, [esp + 0xb8]
lea edx, [esp + 0x78]
call fcn.00401200
push eax
mov eax, dword [ebx + 0x5c]
mov ecx, edi
call eax
mov esi, dword [esi + 8]
add esi, 0xe7090
mov esi, dword [esi + 8]
test esi, esi
je 0x4408bd
mov ecx, dword [esi + 0xc]
push 1
push 1
xor edi, edi
call fcn.0045f251
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
push 1
xor ecx, ecx
push 1
xor edi, edi
call fcn.0045f251
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret