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

Disassembly:
push ebx
push esi
push edi
push ebp
sub esp, 0x160
mov ebp, ecx
push 0x1869f
call fcn.00482800
fld dword [0x5f2e44]
fmul qword [0x5f3998]
mov edi, eax
fstp dword [esp + 0xa8]
fld dword [esp + 0xa8]
push eax
mov ecx, ebp
fstp dword [esp]
call fcn.0048ac20
fstp dword [esp + 0x38]
fld dword [0x5f2e40]
fmul qword [0x5f39a0]
fstp dword [esp + 0xa8]
fld dword [esp + 0xa8]
push eax
mov ecx, ebp
fstp dword [esp]
call fcn.0048abe0
fstp dword [esp + 0x3c]
push dword [esp + 0x38]
push dword [esp + 0x40]
call fcn.00501b80
mov edx, dword [0x5f7614]
mov dword [esp + 0xb4], 0
sub edx, dword [ebp + 0x560]
pop ecx
mov eax, edx
mov dword [esp + 0xac], edx
mov dword [esp + 0xac], eax
pop ecx
fild qword [esp + 0xa8]
mov ecx, ebp
push dword [0x5f36ec]
fstp dword [esp + 0x14]
call fcn.0048ac20
fmul dword [esp + 0x10]
xor esi, esi
test edi, edi
fstp dword [esp + 0x40]
fld dword [esp + 0x40]
fmul dword [0x5f39a8]
fstp dword [esp + 4]
jle 0x482538
mov ecx, ebp
push dword [0x5f380c]
call fcn.0048ac20
mov dword [esp + 0xa8], esi
mov ecx, ebp
fimul dword [esp + 0xa8]
push dword [0x5f39ac]
fiadd dword [0x8f4370]
fsub dword [esp + 8]
fstp dword [esp + 0xc]
call fcn.0048ac20
fcomp dword [esp + 8]
fnstsw ax
test ah, 0x45
jne 0x482278
lea eax, [eax]
mov ecx, ebp
push dword [0x5f380c]
call fcn.0048ac20
mov ecx, ebp
fstp dword [esp + 0x14]
push dword [0x5f3818]
call fcn.0048ac20
mov dword [esp + 0xa8], edi
mov ecx, ebp
fiadd dword [esp + 0xa8]
push dword [0x5f39ac]
fmul dword [esp + 0x18]
fstp dword [esp + 0x48]
fld dword [esp + 0xc]
fadd dword [esp + 0x48]
fstp dword [esp + 0xc]
call fcn.0048ac20
fcomp dword [esp + 8]
fnstsw ax
test ah, 0x45
je 0x482220
fld dword [esp + 8]
fcomp dword [0x5f34f0]
fnstsw ax
test ah, 0x45
jne 0x48252f
fild dword [0x8f4370]
fcomp dword [esp + 8]
fnstsw ax
test ah, 0x45
jne 0x48252f
mov ecx, ebp
push esi
call fcn.00482800
mov ecx, ebp
push dword [0x5f39b0]
call fcn.0048ac20
mov ecx, ebp
xor ebx, ebx
fstp dword [esp + 0x18]
push dword [0x5f39b4]
call fcn.0048ac20
fsubr dword [esp + 8]
fcomp dword [esp + 0x18]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x4822dd
inc ebx
test bl, bl
je 0x482370
mov ecx, ebp
push dword [0x5f39b0]
call fcn.0048ac20
mov ecx, ebp
fstp dword [esp + 0x1c]
push dword [0x5f39b4]
call fcn.0048ac20
fsubr dword [esp + 8]
fdiv dword [esp + 0x1c]
fstp dword [esp + 0x48]
fld dword [0x5f34f0]
fcomp dword [esp + 0x48]
fnstsw ax
test ah, 0x45
jne 0x482330
fld dword [0x5f34f0]
fstp dword [esp + 0x4c]
jmp 0x482362
mov ecx, ebp
push dword [0x5f39b0]
call fcn.0048ac20
mov ecx, ebp
fstp dword [esp + 0x20]
push dword [0x5f39b4]
call fcn.0048ac20
fsubr dword [esp + 8]
fdiv dword [esp + 0x20]
fstp dword [esp + 0x50]
mov eax, dword [esp + 0x50]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0xc], eax
jmp 0x48244e
mov ecx, ebp
push dword [0x5f39b8]
call fcn.0048ac20
mov ecx, ebp
fstp dword [esp + 0x24]
push dword [0x5f39b0]
call fcn.0048ac20
fisubr dword [0x8f4370]
fsub dword [esp + 0x24]
fstp dword [esp + 0x54]
fld dword [esp + 8]
fcomp dword [esp + 0x54]
fnstsw ax
test ah, 0x45
jne 0x482444
mov ecx, ebp
push dword [0x5f39b0]
call fcn.0048ac20
mov ecx, ebp
fstp dword [esp + 0x28]
push dword [0x5f39b8]
call fcn.0048ac20
fild dword [0x8f4370]
fsub dword [esp + 8]
fsubrp st(1)
fdiv dword [esp + 0x28]
fstp dword [esp + 0x58]
fld dword [0x5f34f0]
fcomp dword [esp + 0x58]
fnstsw ax
test ah, 0x45
jne 0x482400
fld dword [0x5f34f0]
fstp dword [esp + 0x5c]
jmp 0x48243a
mov ecx, ebp
push dword [0x5f39b0]
call fcn.0048ac20
mov ecx, ebp
fstp dword [esp + 0x2c]
push dword [0x5f39b8]
call fcn.0048ac20
fild dword [0x8f4370]
fsub dword [esp + 8]
fsubrp st(1)
fdiv dword [esp + 0x2c]
fstp dword [esp + 0x60]
mov eax, dword [esp + 0x60]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0xc], eax
jmp 0x48244e
fld dword [0x5f39bc]
fstp dword [esp + 0xc]
fld dword [0x5f34ec]
fmul dword [esp + 0xc]
fnstcw word [esp]
mov eax, dword [esp]
or byte [esp + 1], 0xc
fldcw word [esp]
mov dword [esp], eax
mov ecx, ebp
fistp dword [esp + 0xa8]
fldcw word [esp]
mov eax, dword [esp + 0xa8]
push eax
call fcn.0048ac60
lea ecx, [esp + 0x154]
push eax
push 0x32
push 0xaa
push 0xeb
call fcn.004f8c20
lea eax, [esp + 0x154]
push eax
call fcn.00501bd0
pop ecx
call fcn.00501d70
mov ecx, ebp
push dword [0x5f39c0]
call fcn.0048ac20
fsubr dword [esp + 8]
mov ecx, ebp
push dword [0x5f39ac]
fstp dword [esp + 0x68]
call fcn.0048abe0
fstp dword [esp + 0x68]
push 0x74b018
push dword [esp + 0x68]
push dword [esp + 0x70]
call fcn.00500f50
add esp, 0xc
call fcn.00501d50
mov ecx, ebp
push dword [0x5f39c0]
call fcn.0048ac20
fsubr dword [esp + 8]
mov ecx, ebp
push dword [0x5f39ac]
fstp dword [esp + 0x70]
call fcn.0048abe0
fisubr dword [0x8f436c]
push 0x6edd70
push dword [esp + 0x70]
fstp dword [esp + 0x78]
push dword [esp + 0x78]
call fcn.00500f50
add esp, 0xc
inc esi
cmp esi, edi
jl 0x4821d8
mov ecx, ebp
push 0xff
call fcn.0048ac60
lea ecx, [esp + 0x158]
push eax
push 0x32
push 0xaa
push 0xeb
call fcn.004f8c20
lea eax, [esp + 0x158]
push eax
call fcn.00501bd0
pop ecx
call fcn.00501d70
mov ecx, ebp
push dword [0x5f3818]
call fcn.0048ac20
mov ecx, ebp
fstp dword [esp + 0x74]
push dword [0x5f353c]
call fcn.0048abe0
mov ecx, 0x941520
fstp dword [esp + 0x78]
push 0x5f39c4
call fcn.0052c5a0
push eax
push dword [esp + 0x78]
push dword [esp + 0x80]
call fcn.00500f50
add esp, 0xc
call fcn.004ab090
push eax
push 0x74b018
call fcn.005009f0
pop ecx
pop ecx
mov ecx, ebp
push dword [0x5f3818]
call fcn.0048ac20
mov ecx, 0x941520
fstp dword [esp + 0x7c]
push 1
push 0x5f39c4
call fcn.0052c5a0
push eax
call fcn.005018a0
pop ecx
pop ecx
mov ecx, ebp
fstp dword [esp + 0x30]
push dword [0x5f3800]
call fcn.0048abe0
fadd dword [esp + 0x30]
push 0x74b018
push dword [esp + 0x80]
fstp dword [esp + 0x88]
push dword [esp + 0x88]
call fcn.00500f50
add esp, 0xc
call fcn.004ab2a0
push eax
push 0x5f39cc
push 0x711b40
call fcn.0059e5b0
lea eax, [esp + 0xc0]
add esp, 0xc
push eax
push 0x711b40
call fcn.005009c0
pop ecx
pop ecx
mov ecx, ebp
push dword [0x5f3818]
call fcn.0048ac20
mov ecx, 0x941520
fstp dword [esp + 0x84]
push 1
push 0x5f39c4
call fcn.0052c5a0
push eax
call fcn.005018a0
pop ecx
pop ecx
mov ecx, ebp
fstp dword [esp + 0x34]
push dword [0x5f350c]
call fcn.0048abe0
fadd dword [esp + 0x34]
push 1
fstp dword [esp + 0x8c]
call fcn.004ab090
push eax
call fcn.005018a0
fadd dword [esp + 0x90]
lea eax, [esp + 0xbc]
pop ecx
pop ecx
push eax
fstp dword [esp + 0x90]
push dword [esp + 0x88]
push dword [esp + 0x94]
call fcn.00500f50
add esp, 0xc
mov ecx, ebp
push 0xff
call fcn.0048ac60
lea ecx, [esp + 0x15c]
push eax
push 0
push 0
push 0
call fcn.004f8c20
lea eax, [esp + 0x15c]
push eax
call fcn.00501bd0
pop ecx
call fcn.00501d50
push 2
call fcn.00501db0
pop ecx
mov ecx, ebp
push dword [0x5f352c]
call fcn.0048ac20
mov ecx, ebp
fstp dword [esp + 0x90]
push dword [0x5f3530]
call fcn.0048abe0
fstp dword [esp + 0x94]
push dword [esp + 0x90]
push dword [esp + 0x98]
call fcn.00501b80
pop ecx
pop ecx
mov ecx, ebp
push dword [0x5f3534]
call fcn.0048ac20
fisubr dword [0x8f4370]
mov ecx, ebp
push dword [0x5f3538]
fstp dword [esp + 0x9c]
call fcn.0048abe0
fisubr dword [0x8f436c]
mov ecx, 0x941520
fstp dword [esp + 0x9c]
mov eax, dword [ebp + 0x548]
imul eax, eax, 0x184
add eax, 0x611930
push eax
call fcn.0052c5a0
push eax
push dword [esp + 0x9c]
push dword [esp + 0xa4]
call fcn.00500f50
add esp, 0xc
mov ecx, ebp
push dword [0x5f2e44]
call fcn.0048ac20
mov ecx, ebp
fstp dword [esp + 0xa0]
push dword [0x5f2e40]
call fcn.0048abe0
fstp dword [esp + 0xa4]
push dword [esp + 0xa0]
push dword [esp + 0xa8]
call fcn.00501b80
pop ecx
pop ecx
add esp, 0x160
pop ebp
pop edi
pop esi
pop ebx
ret