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

Disassembly:
mov ecx, dword [esp + 0x28]
sub esp, 0x48
test ecx, ecx
je 0x4503b0
add ecx, 0xfffffffc
jmp 0x4503b2
xor ecx, ecx
mov eax, dword [ecx + 0xf8]
push ebx
push esi
lea esi, [ecx + 0xdc]
push edi
mov edi, dword [ecx + 8]
test eax, eax
jne 0x4505d0
test edi, edi
jne 0x4503d4
xor eax, eax
jmp 0x4503f0
mov eax, dword [esp + 0xc0]
test eax, eax
jg 0x4503e1
neg eax
cdq
idiv edi
movsx ebx, word [ecx + 0xc]
imul ebx, edx
mov eax, ebx
cdq
idiv edi
movsx edx, word [ecx + 6]
imul edx, eax
mov eax, dword [ecx + 0xe8]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0xc0], edx
push 0
fild dword [esp + 0xc4]
push eax
push ecx
push 4
push 0x4b9608
fstp dword [esp + 0xd4]
call fcn.00444ec0
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov dword [eax], edx
mov dword [eax + 4], ecx
movsx edx, word [esi + 4]
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0xb4]
fild dword [esp + 0x70]
mov edi, 0x3f000000
add esp, 0x14
fadd dword [esp + 0x80]
fmul dword [0x4ad210]
fstp dword [eax + 0x18]
movsx ecx, word [esi + 6]
fld dword [esp + 0xc0]
fadd dword [esp + 0x84]
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0xb0]
fiadd dword [esp + 0x5c]
mov dword [eax + 0x10], edx
mov edx, dword [esp + 0x64]
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + 0x68]
mov dword [eax + 0xc], edi
mov dword [eax + 8], edi
mov dword [eax + 0x20], edx
mov dword [eax + 0x24], ecx
fmul dword [0x4ad210]
fstp dword [eax + 0x1c]
movsx edx, word [esi + 4]
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0xa4]
fild dword [esp + 0x64]
fadd dword [esp + 0x88]
fmul dword [0x4ad210]
fstp dword [eax + 0x38]
movsx ecx, word [esi + 6]
fld dword [esp + 0xc0]
fadd dword [esp + 0x8c]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0xb4]
fiadd dword [esp + 0x64]
fmul dword [0x4ad210]
fstp dword [eax + 0x3c]
mov dword [eax + 0x2c], edi
mov dword [eax + 0x28], edi
mov dword [eax + 0x30], edx
mov edx, dword [esp + 0x74]
mov dword [eax + 0x34], ecx
mov ecx, dword [esp + 0x78]
mov dword [eax + 0x40], edx
mov dword [eax + 0x44], ecx
movsx edx, word [esi + 4]
mov dword [esp + 0x64], edx
fild dword [esp + 0x64]
fadd dword [esp + 0x98]
fmul dword [0x4ad210]
fstp dword [eax + 0x58]
fld dword [esp + 0xc0]
fadd dword [esp + 0x9c]
movsx ecx, word [esi + 6]
mov dword [esp + 0x64], ecx
mov edx, dword [esp + 0xac]
fiadd dword [esp + 0x64]
mov ecx, dword [esp + 0xbc]
fmul dword [0x4ad210]
fstp dword [eax + 0x5c]
mov dword [eax + 0x4c], edi
mov dword [eax + 0x48], edi
mov dword [eax + 0x50], edx
mov edx, dword [esp + 0x6c]
mov dword [eax + 0x54], ecx
mov ecx, dword [esp + 0x70]
mov dword [eax + 0x60], edx
mov dword [eax + 0x64], ecx
movsx edx, word [esi + 4]
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0xa8]
fild dword [esp + 0x64]
fadd dword [esp + 0x90]
fmul dword [0x4ad210]
fstp dword [eax + 0x78]
movsx ecx, word [esi + 6]
fld dword [esp + 0xc0]
fadd dword [esp + 0x94]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0xb8]
fiadd dword [esp + 0x64]
fmul dword [0x4ad210]
fstp dword [eax + 0x7c]
mov dword [eax + 0x6c], edi
mov dword [eax + 0x68], edi
pop edi
mov dword [eax + 0x70], edx
pop esi
mov dword [eax + 0x74], ecx
pop ebx
add esp, 0x48
ret
test edi, edi
jne 0x4505d8
xor eax, eax
jmp 0x4505f4
mov eax, dword [esp + 0xc0]
test eax, eax
jg 0x4505e5
neg eax
cdq
idiv edi
mov eax, edx
movsx edx, word [ecx + 0xc]
imul eax, edx
cdq
idiv edi
movsx ecx, word [ecx + 6]
imul ecx, eax
mov dword [esp + 0xc0], ecx
mov eax, dword [esi + 0xc]
fild dword [esp + 0xc0]
test eax, eax
fld st(0)
fadd dword [esp + 0x84]
fstp dword [esp + 0x3c]
fld st(0)
fadd dword [esp + 0x8c]
fstp dword [esp + 0x44]
fld st(0)
fadd dword [esp + 0x94]
fstp dword [esp + 0x40]
fadd dword [esp + 0x9c]
fstp dword [esp + 0x48]
je 0x450c3b
mov ebx, dword [esp + 0xbc]
push ebp
mov ebp, dword [esp + 0xbc]
mov edi, 0x3f000000
movsx ecx, word [esi]
mov dword [esp + 0xc4], ecx
fild dword [esp + 0xc4]
fstp dword [esp + 0xc4]
fld dword [esp + 0x94]
fcomp dword [esp + 0xc4]
fnstsw ax
test ah, 0x41
jne 0x450c2c
movsx edx, word [esi + 2]
mov dword [esp + 0xc0], edx
fild dword [esp + 0xc0]
fstp dword [esp + 0xc0]
fld dword [esp + 0x44]
fcomp dword [esp + 0xc0]
fnstsw ax
test ah, 0x41
jne 0x450c2c
movsx eax, word [esi + 8]
add ecx, eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x3c], ecx
fild dword [esp + 0x3c]
fcomp dword [esp + 0x84]
fnstsw ax
test ah, 0x41
jne 0x450c2c
movsx eax, word [esi + 0xa]
mov dword [esp + 0x54], eax
add eax, edx
mov dword [esp + 0x3c], eax
fild dword [esp + 0x3c]
fcomp dword [esp + 0x40]
fnstsw ax
test ah, 0x41
jne 0x450c2c
fld dword [esp + 0x84]
fsub dword [esp + 0xc4]
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0xbc], edx
fstp dword [esp + 0x10]
fld dword [esp + 0x40]
fsub dword [esp + 0xc0]
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x2c], eax
fstp dword [esp + 0x14]
fld dword [esp + 0x8c]
fsub dword [esp + 0xc4]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x78]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x28], edx
fstp dword [esp + 0x20]
fld dword [esp + 0x48]
fsub dword [esp + 0xc0]
fstp dword [esp + 0x24]
fld dword [esp + 0x94]
fsub dword [esp + 0xc4]
fstp dword [esp + 0x38]
fld dword [esp + 0x44]
fsub dword [esp + 0xc0]
fstp dword [esp + 0x3c]
fld dword [esp + 0x9c]
fsub dword [esp + 0xc4]
fstp dword [esp + 0xc4]
fld dword [esp + 0x4c]
fsub dword [esp + 0xc0]
fstp dword [esp + 0xc0]
fld dword [esp + 0x10]
fcomp dword [0x4aa204]
fnstsw ax
test ah, 1
je 0x450888
fld dword [esp + 0xc4]
fcomp dword [0x4aa204]
fnstsw ax
test ah, 1
je 0x450888
fld dword [esp + 0x8c]
fsub dword [esp + 0x84]
fdivr dword [esp + 0x10]
mov dword [esp + 0x10], 0
fld dword [esp + 0x68]
fsub dword [esp + 0x60]
fmul st(1)
fsubr dword [esp + 0x60]
fstp dword [esp + 0xbc]
fld dword [esp + 0x6c]
fsub dword [esp + 0x64]
fmul st(1)
fsubr dword [esp + 0x64]
fstp dword [esp + 0x80]
fstp st(0)
fld dword [esp + 0x94]
fsub dword [esp + 0x9c]
fdivr dword [esp + 0xc4]
mov dword [esp + 0xc4], 0
fld dword [esp + 0x70]
fsub dword [esp + 0x78]
fmul st(1)
fsubr dword [esp + 0x78]
fstp dword [esp + 0x28]
fld dword [esp + 0x74]
fsub dword [esp + 0x7c]
fmul st(1)
fsubr dword [esp + 0x7c]
fstp dword [esp + 0x2c]
fstp st(0)
fild dword [esp + 0x50]
fld dword [esp + 0x20]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x450930
fld dword [esp + 0x38]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x450930
fld dword [esp + 0x20]
fsub st(1)
fld dword [esp + 0x84]
fsub dword [esp + 0x8c]
fdivp st(1)
fld dword [esp + 0x60]
fsub dword [esp + 0x68]
fmul st(1)
fsubr dword [esp + 0x68]
fstp dword [esp + 0x18]
fld dword [esp + 0x64]
fsub dword [esp + 0x6c]
fmul st(1)
fsubr dword [esp + 0x6c]
fstp dword [esp + 0x1c]
fstp st(0)
fst dword [esp + 0x20]
fld dword [esp + 0x38]
fsub st(1)
fld dword [esp + 0x9c]
fsub dword [esp + 0x94]
fdivp st(1)
fld dword [esp + 0x78]
fsub dword [esp + 0x70]
fmul st(1)
fsubr dword [esp + 0x70]
fstp dword [esp + 0x30]
fld dword [esp + 0x7c]
fsub dword [esp + 0x74]
fmul st(1)
fsubr dword [esp + 0x74]
fstp dword [esp + 0x34]
fstp st(0)
fstp dword [esp + 0x38]
jmp 0x450932
fstp st(0)
fld dword [esp + 0x14]
fcomp dword [0x4aa204]
fnstsw ax
test ah, 1
je 0x4509e8
fld dword [esp + 0x24]
fcomp dword [0x4aa204]
fnstsw ax
test ah, 1
je 0x4509e8
fld dword [esp + 0xa0]
fsub dword [esp + 0x88]
fdivr dword [esp + 0x14]
mov dword [esp + 0x14], 0
fld dword [esp + 0x78]
fsub dword [esp + 0x60]
fmul st(1)
fsubr dword [esp + 0xbc]
fstp dword [esp + 0xbc]
fld dword [esp + 0x7c]
fsub dword [esp + 0x64]
fmul st(1)
fsubr dword [esp + 0x80]
fstp dword [esp + 0x80]
fstp st(0)
fld dword [esp + 0x98]
fsub dword [esp + 0x90]
fdivr dword [esp + 0x24]
mov dword [esp + 0x24], 0
fld dword [esp + 0x70]
fsub dword [esp + 0x68]
fmul st(1)
fsubr dword [esp + 0x18]
fstp dword [esp + 0x18]
fld dword [esp + 0x74]
fsub dword [esp + 0x6c]
fmul st(1)
fsubr dword [esp + 0x1c]
fstp dword [esp + 0x1c]
fstp st(0)
fild dword [esp + 0x54]
fld dword [esp + 0x3c]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x450a99
fld dword [esp + 0xc0]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x450a99
fld dword [esp + 0x3c]
fsub st(1)
fld dword [esp + 0x90]
fsub dword [esp + 0x98]
fdivp st(1)
fld dword [esp + 0x68]
fsub dword [esp + 0x70]
fmul st(1)
fsubr dword [esp + 0x30]
fstp dword [esp + 0x30]
fld dword [esp + 0x6c]
fsub dword [esp + 0x74]
fmul st(1)
fsubr dword [esp + 0x34]
fstp dword [esp + 0x34]
fstp st(0)
fst dword [esp + 0x3c]
fld dword [esp + 0xc0]
fsub st(1)
fld dword [esp + 0x88]
fsub dword [esp + 0xa0]
fdivp st(1)
fld dword [esp + 0x60]
fsub dword [esp + 0x78]
fmul st(1)
fsubr dword [esp + 0x28]
fstp dword [esp + 0x28]
fld dword [esp + 0x64]
fsub dword [esp + 0x7c]
fmul st(1)
fsubr dword [esp + 0x2c]
fstp dword [esp + 0x2c]
fstp st(0)
fstp dword [esp + 0xc0]
jmp 0x450a9b
fstp st(0)
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x5c]
push 0
push ecx
push edx
push 4
push 0x4b9608
call fcn.00444ec0
mov ecx, dword [esp + 0xd0]
mov edx, dword [esp + 0x94]
mov dword [eax], ecx
mov dword [eax + 4], edx
movsx ecx, word [esi + 4]
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0xb8]
fild dword [esp + 0x68]
add esp, 0x14
fadd dword [esp + 0x10]
fmul dword [0x4ad210]
fstp dword [eax + 0x18]
movsx edx, word [esi + 6]
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0xb4]
fild dword [esp + 0x54]
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0x18]
mov dword [eax + 0x14], edx
mov edx, dword [esp + 0x1c]
fadd dword [esp + 0x14]
mov dword [eax + 0xc], edi
mov dword [eax + 8], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], edx
fmul dword [0x4ad210]
fstp dword [eax + 0x1c]
movsx ecx, word [esi + 4]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0xa8]
fild dword [esp + 0x54]
fadd dword [esp + 0x20]
fmul dword [0x4ad210]
fstp dword [eax + 0x38]
movsx edx, word [esi + 6]
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0xb8]
fild dword [esp + 0x54]
fadd dword [esp + 0x24]
fmul dword [0x4ad210]
fstp dword [eax + 0x3c]
mov dword [eax + 0x2c], edi
mov dword [eax + 0x28], edi
mov dword [eax + 0x30], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 0x34], edx
mov edx, dword [esp + 0x2c]
mov dword [eax + 0x40], ecx
mov dword [eax + 0x44], edx
movsx ecx, word [esi + 4]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0xb0]
fild dword [esp + 0x54]
fadd dword [esp + 0xc4]
fmul dword [0x4ad210]
fstp dword [eax + 0x58]
movsx edx, word [esi + 6]
mov dword [esp + 0xc4], edx
mov edx, dword [esp + 0x30]
fild dword [esp + 0xc4]
fadd dword [esp + 0xc0]
fmul dword [0x4ad210]
fstp dword [eax + 0x5c]
mov dword [eax + 0x4c], edi
mov dword [eax + 0x48], edi
mov dword [eax + 0x50], ecx
mov dword [eax + 0x54], ebx
mov ecx, dword [esp + 0x34]
mov dword [eax + 0x60], edx
mov dword [eax + 0x64], ecx
movsx edx, word [esi + 4]
mov dword [esp + 0xc4], edx
mov edx, dword [esp + 0xac]
fild dword [esp + 0xc4]
fadd dword [esp + 0x38]
fmul dword [0x4ad210]
fstp dword [eax + 0x78]
movsx ecx, word [esi + 6]
mov dword [esp + 0xc4], ecx
fild dword [esp + 0xc4]
fadd dword [esp + 0x3c]
fmul dword [0x4ad210]
fstp dword [eax + 0x7c]
mov dword [eax + 0x6c], edi
mov dword [eax + 0x68], edi
mov dword [eax + 0x70], edx
mov dword [eax + 0x74], ebp
mov eax, dword [esi + 0x1c]
add esi, 0x10
test eax, eax
jne 0x45065a
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x48
ret