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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x94
mov eax, dword [ebp + 0x10]
xor ecx, ecx
push ebx
push esi
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov eax, dword [ebp + 0xc]
push edi
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov eax, dword [ebp + 8]
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x18], 0
mov ecx, dword [eax + 0x678]
mov edx, dword [eax + 0x60]
lea esi, [eax + 0x598]
lea ebx, [eax + 0x148]
mov dword [ecx + 0xf0], edx
mov edx, dword [eax + 0x64]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x38], 0
mov dword [ecx + 0xf4], edx
mov eax, dword [esi]
mov ecx, esi
mov dword [esp + 0x3c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
call dword [eax + 4]
mov ecx, ebx
call fcn.00439210
mov edi, 1
mov dword [esp + 0x10], eax
cmp eax, edi
jl 0x43900d
lea ecx, [esp + 0x28]
lea edx, [esp + 0x68]
push ecx
lea eax, [esp + 0x84]
push edx
lea ecx, [esp + 0x78]
push eax
push ecx
push edi
mov ecx, ebx
call fcn.00448e50
lea edx, [esp + 0x58]
push 1
lea eax, [esp + 0x9c]
push edx
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x90]
push eax
mov eax, dword [esp + 0x78]
push ecx
mov ecx, dword [esp + 0x78]
push edx
mov edx, dword [esp + 0x98]
push eax
mov eax, dword [esp + 0x98]
push ecx
mov ecx, dword [esp + 0x90]
push edx
mov edx, dword [esp + 0x90]
push eax
push ecx
push edx
mov ecx, esi
call fcn.0044a1c0
test al, al
je 0x439000
fld qword [esp + 0x68]
fld st(0)
fadd qword [esp + 0x30]
fstp qword [esp + 0x30]
fld qword [esp + 0x98]
fmul qword [0x585b20]
fld st(0)
fcos
fld qword [esp + 0x88]
fmul qword [0x585b20]
fld st(0)
fcos
fmul st(2)
fstp qword [esp + 0x90]
fsin
fmul st(1)
fstp qword [esp + 0x78]
fstp st(0)
fsin
fld st(0)
fmul st(2)
fadd qword [esp + 0x18]
fstp qword [esp + 0x18]
fld qword [esp + 0x90]
fmul st(2)
fadd qword [esp + 0x38]
fstp qword [esp + 0x38]
fld qword [esp + 0x78]
fmul st(2)
fadd qword [esp + 0x50]
fstp qword [esp + 0x50]
fmul qword [esp + 0x58]
fmul st(1)
fadd qword [esp + 0x20]
fstp qword [esp + 0x20]
fld qword [esp + 0x90]
fmul qword [esp + 0x58]
fmul st(1)
fadd qword [esp + 0x40]
fstp qword [esp + 0x40]
fld qword [esp + 0x78]
fmul qword [esp + 0x58]
fmul st(1)
fadd qword [esp + 0x48]
fstp qword [esp + 0x48]
fld qword [esp + 0x58]
fmul st(1)
fadd qword [esp + 0x60]
fstp qword [esp + 0x60]
fstp st(0)
mov eax, dword [esp + 0x10]
inc edi
cmp edi, eax
jle 0x438ed7
fld qword [esp + 0x50]
fmul qword [esp + 0x50]
fld qword [esp + 0x38]
fmul qword [esp + 0x38]
faddp st(1)
fld qword [esp + 0x18]
fmul qword [esp + 0x18]
faddp st(1)
fsqrt
fst qword [esp + 0x30]
fld qword [esp + 0x48]
fmul qword [esp + 0x48]
fld qword [esp + 0x40]
fmul qword [esp + 0x40]
faddp st(1)
fld qword [esp + 0x20]
fmul qword [esp + 0x20]
faddp st(1)
fstp qword [esp + 0x28]
fld qword [esp + 0x60]
fcomp qword [0x585c80]
fnstsw ax
test ah, 0x41
jne 0x43906a
fld qword [esp + 0x28]
fsqrt
fstp qword [esp + 0x28]
fcomp qword [0x585c80]
fnstsw ax
test ah, 0x40
jne 0x4390e4
fld qword [esp + 0x18]
fdiv qword [esp + 0x30]
call sub.MSVCRT.dll__CIasin
fmul qword [0x585b28]
fst qword [esp + 0x18]
fcomp qword [0x588960]
fnstsw ax
test ah, 0x40
jne 0x4390d4
fld qword [esp + 0x50]
fdiv qword [esp + 0x30]
fld qword [esp + 0x38]
fdiv qword [esp + 0x30]
fpatan
fmul qword [0x585b28]
fst qword [esp + 0x10]
fcomp qword [0x585c80]
fnstsw ax
test ah, 1
je 0x4390e4
fld qword [esp + 0x10]
fadd qword [0x588958]
fstp qword [esp + 0x10]
jmp 0x4390e4
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
fld qword [esp + 0x18]
fcomp qword [0x585c80]
fnstsw ax
test ah, 1
je 0x439128
fld qword [esp + 0x18]
fchs
fstp qword [esp + 0x18]
fld qword [esp + 0x10]
fadd qword [0x585c78]
fst qword [esp + 0x10]
fcomp qword [0x588958]
fnstsw ax
test ah, 0x41
jne 0x439128
fld qword [esp + 0x10]
fsub qword [0x588958]
fstp qword [esp + 0x10]
fld qword [esp + 0x28]
fcomp qword [0x585c80]
fnstsw ax
test ah, 0x40
je 0x439144
fld qword [esp + 0x88]
xor esi, esi
jmp 0x4391a0
fld qword [esp + 0x20]
fdiv qword [esp + 0x28]
mov esi, 1
call sub.MSVCRT.dll__CIasin
fmul qword [0x585b28]
fst qword [esp + 0x20]
fcomp qword [0x588960]
fnstsw ax
test ah, 0x40
jne 0x43919a
fld qword [esp + 0x48]
fdiv qword [esp + 0x28]
fld qword [esp + 0x40]
fdiv qword [esp + 0x28]
fpatan
fmul qword [0x585b28]
fcom qword [0x585c80]
fnstsw ax
test ah, 1
je 0x4391a0
fadd qword [0x588958]
jmp 0x4391a0
fld qword [0x585c80]
fld qword [esp + 0x20]
fcomp qword [0x585c80]
fnstsw ax
test ah, 1
je 0x4391d4
fld qword [esp + 0x20]
fchs
fstp qword [esp + 0x20]
fadd qword [0x585c78]
fcom qword [0x588958]
fnstsw ax
test ah, 0x41
jne 0x4391d4
fsub qword [0x588958]
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
pop edi
mov dword [eax], ecx
mov ecx, dword [esp + 0x14]
mov dword [eax + 4], edx
mov eax, dword [ebp + 0x10]
mov edx, dword [esp + 0x18]
mov dword [eax], ecx
mov ecx, dword [ebp + 0x18]
mov dword [eax + 4], edx
mov eax, dword [ebp + 0x14]
fstp qword [eax]
fld qword [esp + 0x1c]
mov eax, esi
pop esi
fstp qword [ecx]
pop ebx
mov esp, ebp
pop ebp
ret