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

Disassembly:
push 0xffffffffffffffff
push 0x550361
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x760
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ecx, 0x1e
xor eax, eax
lea edi, [esp + 0x80]
rep stosd dword es:[edi], eax
mov ecx, 0xe
lea edi, [esp + 0x48]
rep stosd dword es:[edi], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], eax
mov eax, 0x34c
mov ecx, dword [esi + 4]
add eax, 4
cmp eax, 0x3c4
mov dword [eax + ecx - 4], 0
jl 0x438301
mov eax, 0x2d4
mov edx, dword [esi + 4]
add eax, 4
cmp eax, 0x30c
mov dword [eax + edx - 4], 0
jl 0x43831b
mov eax, dword [esi + 4]
xor ebx, ebx
mov dword [eax + 0x3c4], ebx
mov ecx, dword [esi + 4]
mov dword [ecx + 0x3cc], ebx
mov edx, dword [esi + 4]
mov dword [edx + 0x1e8], ebx
mov eax, dword [esi + 4]
mov dword [eax + 0x3d0], ebx
mov dword [esp + 0x30], 0x557790
mov dword [esp + 0x34], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], ebx
mov ecx, dword [esi + 8]
lea eax, [esp + 0x30]
push eax
push 0x13
mov edx, dword [ecx]
mov dword [esp + 0x780], ebx
call dword [edx + 0xb0]
mov ebp, dword [esp + 0x38]
lea ecx, [ebp*4]
push ecx
call fcn.00481156
mov edi, eax
add esp, 4
xor eax, eax
cmp ebp, ebx
jle 0x4383b4
mov edx, dword [esp + 0x34]
inc eax
cmp eax, ebp
mov ecx, dword [edx + eax*4 - 4]
mov dword [edi + eax*4 - 4], ecx
jl 0x4383a3
lea eax, [ebp - 1]
cmp eax, ebx
jle 0x4383ff
cdq
sub eax, edx
mov edx, dword [0x554068]
mov ebx, eax
push edx
sar ebx, 1
push ebx
push 0
push edi
call fcn.004102e0
mov eax, dword [0x554068]
lea ecx, [ebx + 1]
push eax
lea eax, [ebp - 1]
push eax
push ecx
push edi
call fcn.004102e0
mov edx, dword [0x554068]
lea eax, [ebp - 1]
push edx
push eax
push ebx
push 0
push edi
call fcn.0043bda0
add esp, 0x34
xor ebx, ebx
xor eax, eax
cmp ebp, ebx
jle 0x438414
mov edx, dword [esp + 0x34]
mov ecx, dword [edi + eax*4]
mov dword [edx + eax*4], ecx
inc eax
cmp eax, ebp
jl 0x438405
push edi
call fcn.004812ac
mov eax, dword [esp + 0x3c]
add esp, 4
cmp eax, ebx
jle 0x438711
fld dword [esp + 0x10]
mov ebp, dword [esp + 0x34]
mov dword [esp + 0x1c], eax
fld dword [esp + 0x18]
mov edx, dword [ebp]
mov eax, dword [edx + 0x38]
mov ecx, dword [eax + 0x3c]
fld dword [ecx + 0x38]
fld dword [ecx + 0x3c]
mov ecx, dword [eax + 0x48]
fld dword [ecx + 0x3c]
mov edi, dword [ecx + 0x38]
mov ecx, dword [eax + 0x38]
fsub st(1)
mov dword [esp + 0x44], edi
cmp ecx, ebx
fstp dword [esp + 0x14]
fstp st(0)
fsubr dword [esp + 0x44]
fld st(0)
fmulp st(1)
fld dword [esp + 0x14]
fmul dword [esp + 0x14]
faddp st(1)
fsqrt
fmul dword [0x559430]
je 0x438499
fstp st(0)
fld dword [eax + 0x70]
fld dword [eax + 0x68]
fld dword [eax + 0x6c]
fsub st(1)
fmulp st(2)
fxch st(1)
fmul dword [0x559430]
fxch st(1)
fstp st(0)
mov eax, dword [edx + 0xdaec]
mov ecx, dword [eax + 0x123a4]
cmp dword [ecx + 0x78], 3
jne 0x43867e
fld dword [ecx + 0x7c]
fld dword [ecx + 0x57a0]
fld dword [ecx + 0x57a4]
fadd st(1)
mov eax, dword [ecx + 0x8640]
mov edx, dword [ecx + 0x8644]
cmp eax, ebx
mov dword [esp + 0x28], edx
fadd st(2)
fstp dword [esp + 0x14]
fstp st(0)
fstp st(0)
fld dword [0x5593e4]
jne 0x438556
mov eax, dword [ecx + 0x87f4]
fstp st(0)
fld dword [esp + 0x14]
fmul dword [esp + 0x28]
cmp eax, 1
jne 0x438516
fld dword [ecx + 0x8800]
fmul dword [ecx + 0x87f8]
fsubp st(1)
fmulp st(1)
fadd dword [esp + 0x20]
fstp dword [esp + 0x20]
jmp 0x4386fd
cmp eax, 2
jne 0x438672
fld dword [ecx + 0x8804]
fadd dword [ecx + 0x8800]
fmul dword [ecx + 0x87fc]
fld dword [ecx + 0x87f8]
fmul dword [ecx + 0x8800]
faddp st(1)
fxch st(1)
fsub st(1)
fxch st(1)
fstp st(0)
fmulp st(1)
fadd dword [esp + 0x20]
fstp dword [esp + 0x20]
jmp 0x4386fd
cmp eax, 1
jne 0x4385b0
mov eax, dword [ecx + 0x8648]
fstp st(0)
fld dword [ecx + 0x864c]
fld dword [ecx + 0x8650]
fld dword [ecx + 0x8654]
mov dword [esp + 0x18], eax
fadd dword [esp + 0x18]
fadd st(0), st(0)
fld st(0)
fmul dword [esp + 0x28]
fld dword [esp + 0x28]
fsub st(4)
fsub st(3)
fmul dword [esp + 0x18]
fadd st(0), st(0)
fsubp st(1)
fdiv st(1)
fmul dword [esp + 0x14]
fstp st(3)
fstp st(0)
fstp st(0)
fmulp st(1)
fadd dword [esp + 0x20]
fstp dword [esp + 0x20]
jmp 0x4386fd
cmp eax, 2
jne 0x438627
fstp st(0)
fld dword [ecx + 0x8654]
fld dword [ecx + 0x8648]
fld st(0)
fmul st(1)
mov ecx, dword [ecx + 0x8680]
mov eax, 0x66666667
sub ecx, 0xf
imul ecx
fstp dword [esp + 0x10]
faddp st(1)
fld dword [esp + 0x10]
fmul dword [esp + 0x14]
fmul dword [0x55942c]
sar edx, 1
fdiv st(1)
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
lea eax, [esp + edx*4 + 0x48]
fmul st(2)
fadd dword [eax]
fstp dword [eax]
fld st(0)
fmul dword [esp + 0x28]
fld dword [esp + 0x10]
fmul dword [0x55942c]
fsubp st(1)
fdivrp st(1)
fmul dword [esp + 0x14]
fmulp st(1)
fadd dword [esp + 0x20]
fstp dword [esp + 0x20]
jmp 0x4386fd
cmp eax, 3
jne 0x438672
mov edx, dword [ecx + 0x8818]
fstp st(0)
fld dword [ecx + 0x880c]
fmul dword [0x559428]
mov dword [esp + 0x2c], edx
fstp dword [esp + 0x10]
fld dword [esp + 0x2c]
fmul dword [esp + 0x28]
fsub dword [esp + 0x10]
fdiv dword [esp + 0x2c]
fmul dword [esp + 0x14]
fld dword [esp + 0x10]
fdiv dword [esp + 0x2c]
fmul dword [esp + 0x14]
fmul st(2)
fadd dword [esp + 0x24]
fstp dword [esp + 0x24]
fmulp st(1)
fadd dword [esp + 0x20]
fstp dword [esp + 0x20]
jmp 0x4386fd
fld dword [ecx + 0x8640]
mov edi, dword [ecx + 0x8658]
fst dword [esp + 0x10]
fcomp dword [0x555a28]
fnstsw ax
test ah, 1
je 0x4386a3
mov dword [esp + 0x10], 0
mov edx, dword [ecx + 0x8644]
mov eax, 0x66666667
fld dword [ecx + 0x7c]
sub edx, 0xf
fld dword [ecx + 0x57a0]
imul edx
fld dword [ecx + 0x57a4]
fadd st(1)
faddp st(2)
fstp st(0)
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edi, ebx
jne 0x4386e9
fmul dword [esp + 0x10]
lea eax, [esp + edx*4 + 0x48]
fmulp st(1)
fld st(0)
fadd dword [eax]
fstp dword [eax]
faddp st(1)
jmp 0x4386fd
fld dword [ecx + 0x865c]
fmul dword [0x559428]
fmul st(1)
fmulp st(2)
fstp st(0)
faddp st(2)
mov eax, dword [esp + 0x1c]
add ebp, 4
dec eax
mov dword [esp + 0x1c], eax
jne 0x438439
jmp 0x438719
fld dword [esp + 0x10]
fld dword [esp + 0x18]
mov edx, dword [0x554180]
mov ecx, dword [esi + 4]
fld st(0)
mov eax, dword [edx + 0x108]
fmul dword [ecx + 0xc]
lea edi, [eax - 1]
test edi, edi
fmul dword [0x559408]
jl 0x438746
fadd dword [esp + eax*4 + 0x7c]
lea eax, [esp + eax*4 + 0x7c]
fstp dword [eax]
jmp 0x438748
fstp st(0)
mov eax, dword [edx + 0x10c]
fmul dword [ecx + 0x28]
lea ecx, [eax - 1]
test ecx, ecx
fmul dword [0x559408]
jl 0x43876a
fadd dword [esp + eax*4 + 0x7c]
lea eax, [esp + eax*4 + 0x7c]
fstp dword [eax]
jmp 0x43876c
fstp st(0)
mov edi, 0x194
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], ebx
lea edx, [esp + 0x80]
lea ecx, [esi + 0x1b8]
sub edi, esi
mov ebx, 0x1e
fld dword [edx]
fcomp dword [0x555a28]
fnstsw ax
test ah, 0x41
jne 0x4387a4
mov dword [esp + 0x10], 1
fld dword [edx]
fadd dword [ecx]
add ecx, 4
add edx, 4
fstp dword [ecx - 4]
mov eax, dword [esi + 4]
fld dword [eax + 0x56c]
fmul dword [edx - 4]
add eax, edi
dec ebx
fstp dword [eax + ecx - 4]
jne 0x43878d
mov edi, 0xa4
lea edx, [esp + 0x48]
lea ecx, [esi + 0x230]
sub edi, esi
mov dword [esp + 0x1c], 0xe
fld dword [edx]
fcomp dword [0x555a28]
fnstsw ax
test ah, 0x41
jne 0x4387f6
mov dword [esp + 0x18], 1
fld dword [ecx]
fadd dword [edx]
mov ebp, dword [edx]
lea eax, [edi + ecx]
add ecx, 4
add edx, 4
fstp dword [ecx - 4]
mov ebx, dword [esi + 4]
mov dword [eax + ebx], ebp
mov eax, dword [esp + 0x1c]
dec eax
mov dword [esp + 0x1c], eax
jne 0x4387df
fcom dword [0x555a28]
fnstsw ax
test ah, 0x41
jne 0x438844
mov eax, dword [esi + 4]
mov ebp, 1
fld st(0)
fmul dword [eax + 0x56c]
fstp dword [eax + 0x3cc]
fstp dword [esi + 0x26c]
jmp 0x43884a
mov ebp, dword [esp + 0x10]
fstp st(0)
fld dword [esp + 0x24]
fcomp dword [0x555a28]
fnstsw ax
test ah, 0x41
jne 0x43887d
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x24]
fld dword [esp + 0x24]
fmul dword [eax + 0x56c]
mov ebp, 1
fstp dword [eax + 0x3d0]
mov dword [esi + 0x270], ecx
fld dword [esp + 0x20]
fcomp dword [0x555a28]
fnstsw ax
test ah, 0x41
jne 0x4388aa
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x20]
mov ecx, eax
mov ebx, 1
mov dword [edx + 0x3c4], eax
mov dword [esi + 0x268], ecx
jmp 0x4388ae
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x780]
test edi, edi
je 0x4389b8
cmp ebx, 1
je 0x4388cb
cmp ebp, 1
jne 0x4389b8
lea ecx, [esp + 0x434]
call fcn.00476520
mov edx, dword [esi + 4]
mov eax, dword [esi + 8]
lea ecx, [esp + 0xf8]
mov byte [esp + 0x778], 1
mov dword [esp + 0x76c], edx
mov dword [esp + 0x768], eax
call fcn.00476900
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
mov dword [esp + 0x430], ecx
push 0
mov ecx, edi
mov byte [esp + 0x77c], 2
mov dword [esp + 0x430], edx
call 0x6c422b
mov eax, dword [esp + 0x34]
pop edi
pop esi
pop ebp
test eax, eax
mov dword [esp + 0x24], 0x557790
pop ebx
je 0x4389d5
push eax
call fcn.004812ac
add esp, 4
mov ecx, dword [esp + 0x760]
mov eax, 1
mov dword fs:[0], ecx
add esp, 0x76c
ret 4