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

Disassembly:
sub esp, 0x200
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov dword [esp + 0xec], ebp
mov dword [esp + 0x10], 0xc3160000
mov eax, dword [esp + 0x10]
mov dword [esp + 0x50], eax
mov dword [esp + 0x10], 0x43160000
mov eax, dword [esp + 0x10]
mov dword [esp + 0x44], eax
mov eax, 1
mov dword [esp + 0x18], 0xc3160000
mov edx, dword [esp + 0x18]
mov dword [esp + 0x58], edx
mov word [esp + 0x92], ax
mov word [esp + 0x96], ax
mov word [esp + 0xa0], ax
mov eax, 7
mov dword [esp + 0x14], 0
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x18], 0x43160000
mov edx, dword [esp + 0x18]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x4c], edx
mov word [esp + 0xa6], ax
mov word [esp + 0xa8], ax
mov word [esp + 0xb0], ax
mov edx, 3
mov eax, 6
mov dword [esp + 0x14], 0x43c80000
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x48], ecx
mov ecx, 5
mov word [esp + 0x9e], dx
mov word [esp + 0xa2], dx
mov word [esp + 0xac], dx
mov word [esp + 0xb2], ax
mov word [esp + 0xb4], ax
mov word [esp + 0xbc], ax
xor ebx, ebx
mov dword [esp + 0x10], 0x3f34fdf4
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], 0x3f34fdf4
mov edx, dword [esp + 0x18]
mov word [esp + 0x9a], cx
mov word [esp + 0x9c], cx
mov word [esp + 0xa4], cx
mov ecx, 2
mov dword [esp + 0x198], eax
mov dword [esp + 0x1a0], edx
mov dword [esp + 0x10], 0x3f34fdf4
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], 0xbf34fdf4
mov edx, dword [esp + 0x18]
mov esi, 4
mov word [esp + 0xaa], cx
mov word [esp + 0xae], cx
mov word [esp + 0xb8], cx
mov ecx, ebx
mov dword [esp + 0x1a4], eax
mov dword [esp + 0x1ac], edx
mov dword [esp + 0x10], 0xbf34fdf4
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], 0x3f34fdf4
mov edx, dword [esp + 0x18]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x14], ebx
mov word [esp + 0x90], si
mov word [esp + 0x94], bx
mov word [esp + 0x98], si
mov word [esp + 0xb6], bx
mov word [esp + 0xba], bx
mov word [esp + 0xbe], si
mov dword [esp + 0x19c], ecx
mov dword [esp + 0x1a8], ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1b0], eax
mov dword [esp + 0x1b4], ecx
mov dword [esp + 0x1b8], edx
mov dword [esp + 0x10], 0xbf34fdf4
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1bc], eax
mov dword [esp + 0x10], 0x3f800000
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c8], eax
mov dword [esp + 0x10], 0xbf800000
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1d4], eax
mov eax, ebx
mov dword [esp + 0x1e0], eax
mov dword [esp + 0x1ec], eax
mov eax, dword [ebp + 0xc0]
mov dword [esp + 0x1c0], ecx
mov dword [esp + 0x1cc], ecx
mov dword [esp + 0x1d8], ecx
mov dword [esp + 0x1e4], ecx
mov dword [esp + 0x1f0], ecx
mov ecx, dword [eax + 0xb8]
imul ecx, dword [eax + 0xb4]
mov dword [esp + 0x18], 0xbf34fdf4
mov edx, dword [esp + 0x18]
mov dword [esp + 0x1c4], edx
mov edx, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1d0], edx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1dc], edx
mov dword [esp + 0x18], 0x3f800000
mov edx, dword [esp + 0x18]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1e8], edx
mov dword [esp + 0x18], 0xbf800000
mov edx, dword [esp + 0x18]
mov dword [esp + 0x14], ebx
xor esi, esi
test ecx, ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1f4], edx
jle 0x5b1c2e
mov edx, eax
mov ecx, dword [edx + 0x200]
add ecx, 0x54
mov edi, edi
fld dword [ecx - 8]
fcomp dword [ebp + 0x40]
fnstsw ax
test ah, 0x41
jp 0x5b1530
fild dword [0x68c0f4]
fst dword [esp + 0x28]
fadd dword [ecx - 8]
fcomp dword [ebp + 0x40]
fnstsw ax
test ah, 0x41
jne 0x5b1530
fld dword [ecx]
fcomp dword [ebp + 0x48]
fnstsw ax
test ah, 0x41
jp 0x5b1530
fld dword [esp + 0x28]
fadd dword [ecx]
fcomp dword [ebp + 0x48]
fnstsw ax
test ah, 0x41
je 0x5b1553
mov eax, dword [edx + 0xb8]
imul eax, dword [edx + 0xb4]
inc esi
add ecx, 0x1f650
cmp esi, eax
jl 0x5b14f0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x200
ret
mov ecx, dword [ebp + 0xc0]
fld dword [ebp + 0x40]
imul esi, esi, 0x1f650
mov edx, dword [ecx + 0x200]
lea eax, [edx + esi]
mov dword [esp + 0xe8], esi
fsub dword [eax + 0x4c]
fld dword [ebp + 0x48]
fsub dword [eax + 0x54]
fstp dword [esp + 0x8c]
fmul dword [0x665c2c]
call fcn.0061672c
fld dword [esp + 0x8c]
fmul dword [0x665c2c]
mov edi, eax
call fcn.0061672c
cmp edi, 0x40
mov dword [esp + 0xf0], edi
mov dword [esp + 0xcc], eax
jne 0x5b15c7
or ecx, 0xffffffff
mov dword [esp + 0xf4], ecx
mov dword [esp + 0xd0], ecx
jmp 0x5b15db
lea ecx, [edi + 1]
mov dword [esp + 0xf4], ecx
mov dword [esp + 0xd0], eax
or ecx, 0xffffffff
cmp eax, 0x40
jne 0x5b15f0
mov dword [esp + 0xf8], ecx
mov dword [esp + 0xd4], ecx
jmp 0x5b1601
lea edx, [eax + 1]
mov dword [esp + 0xf8], edi
mov dword [esp + 0xd4], edx
cmp edi, 0x40
je 0x5b161d
cmp eax, 0x40
je 0x5b161d
inc edi
inc eax
mov dword [esp + 0xfc], edi
mov dword [esp + 0xd8], eax
jmp 0x5b162b
mov dword [esp + 0xfc], ecx
mov dword [esp + 0xd8], ecx
xor edx, edx
mov dword [esp + 0x5c], edx
mov ecx, dword [esp + edx + 0xf0]
cmp ecx, 0xffffffff
mov dword [esp + 0x40], ecx
je 0x5b1c1e
mov eax, dword [esp + edx + 0xcc]
mov dword [esp + 0x38], eax
imul eax, eax, 0x41
add eax, ecx
mov ecx, dword [ebp + 0xc0]
mov ecx, dword [ecx + 0x200]
lea edi, [esi + ecx]
cmp byte [edi + eax + 0x1e130], 0xff
je 0x5b1c1e
mov edx, dword [esi + ecx + 0x1f1b4]
fld dword [edx + eax*4]
mov eax, dword [ebp + 0xc0]
fstp dword [esp + 0x28]
mov ecx, dword [eax + 0x200]
fild dword [esp + 0x40]
lea eax, [ecx + esi]
fmul dword [0x665dcc]
fadd dword [eax + 0x4c]
fst dword [esp + 0x10]
fild dword [esp + 0x38]
fmul dword [0x665dcc]
fadd dword [eax + 0x54]
fst dword [esp + 0x18]
fld dword [esp + 0x10]
fadd dword [esp + 0x50]
fstp dword [esp + 0x1c]
mov edx, dword [esp + 0x1c]
fld dword [esp + 0x28]
mov dword [esp + 0x10c], edx
fadd dword [esp + 0x54]
fst dword [esp + 0x20]
mov eax, dword [esp + 0x20]
fld dword [esp + 0x18]
mov dword [esp + 0x110], eax
fadd dword [esp + 0x58]
fstp dword [esp + 0x24]
mov ecx, dword [esp + 0x24]
fld st(2)
mov dword [esp + 0x114], ecx
fld st(2)
fxch st(1)
fadd dword [esp + 0x44]
fstp dword [esp + 0x1c]
mov edx, dword [esp + 0x1c]
fld st(1)
mov dword [esp + 0x118], edx
fstp dword [esp + 0x20]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x11c], eax
fadd dword [esp + 0x58]
fstp dword [esp + 0x24]
mov ecx, dword [esp + 0x24]
fld st(2)
mov dword [esp + 0x120], ecx
fld st(2)
fxch st(1)
fadd dword [esp + 0x50]
fstp dword [esp + 0x1c]
mov edx, dword [esp + 0x1c]
fld st(1)
mov dword [esp + 0x124], edx
fstp dword [esp + 0x20]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x128], eax
fadd dword [esp + 0x4c]
fstp dword [esp + 0x24]
mov ecx, dword [esp + 0x24]
fld st(2)
mov dword [esp + 0x12c], ecx
fld st(2)
fstp dword [esp + 0x18]
fadd dword [esp + 0x44]
fstp dword [esp + 0x1c]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x130], edx
fstp dword [esp + 0x20]
mov eax, dword [esp + 0x20]
fld dword [esp + 0x18]
mov dword [esp + 0x134], eax
fadd dword [esp + 0x4c]
fstp dword [esp + 0x24]
mov ecx, dword [esp + 0x24]
fld st(1)
mov dword [esp + 0x138], ecx
fld st(1)
fxch st(1)
fadd dword [esp + 0x50]
fstp dword [esp + 0x1c]
fld dword [esp + 0x28]
fadd dword [esp + 0x48]
fst dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
fstp dword [esp + 0x20]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x140], eax
fadd dword [esp + 0x58]
mov dword [esp + 0x13c], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x20], edx
fstp dword [esp + 0x24]
mov ecx, dword [esp + 0x24]
fld st(1)
mov dword [esp + 0x144], ecx
fld st(1)
mov ecx, edx
fxch st(1)
mov dword [esp + 0x14c], ecx
fadd dword [esp + 0x44]
lea edi, [esp + 0x92]
mov dword [esp + 0x38], edi
mov dword [esp + 0x40], 8
fstp dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x148], eax
fadd dword [esp + 0x58]
mov eax, ecx
mov dword [esp + 0x20], eax
fstp dword [esp + 0x24]
mov edx, dword [esp + 0x24]
fld st(1)
mov dword [esp + 0x150], edx
fld st(1)
mov edx, eax
fxch st(1)
mov dword [esp + 0x158], edx
fadd dword [esp + 0x50]
fstp dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x154], ecx
fadd dword [esp + 0x4c]
mov ecx, edx
mov dword [esp + 0x20], ecx
fstp dword [esp + 0x24]
mov eax, dword [esp + 0x24]
fxch st(1)
mov dword [esp + 0x15c], eax
fst dword [esp + 0x10]
mov eax, ecx
fadd dword [esp + 0x44]
mov dword [esp + 0x164], eax
fstp dword [esp + 0x1c]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x160], edx
fadd dword [esp + 0x4c]
fstp dword [esp + 0x24]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x168], ecx
mov edi, edi
movzx eax, word [edi - 2]
lea edx, [eax + eax*2]
lea eax, [esp + edx*4 + 0x10c]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x68], eax
movzx eax, word [edi]
mov dword [esp + 0x60], ecx
lea ecx, [eax + eax*2]
mov dword [esp + 0x64], edx
lea edx, [esp + ecx*4 + 0x10c]
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov edx, dword [edx + 8]
mov dword [esp + 0x6c], eax
movzx eax, word [edi + 2]
mov dword [esp + 0x70], ecx
lea eax, [eax + eax*2]
lea ecx, [esp + eax*4 + 0x10c]
mov dword [esp + 0x74], edx
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
lea ebx, [esp + 0x1a0]
mov dword [esp + 0x28], 8
fld dword [ebx - 8]
lea esi, [ebp + 0x40]
fmul dword [ebp + 0x4c]
lea edx, [esp + 0x3c]
fld dword [ebx - 4]
push edx
fmul dword [ebp + 0x4c]
lea eax, [esp + 0x64]
fld dword [ebp + 0x4c]
push eax
fmul dword [ebx]
sub esp, 0xc
mov ecx, esp
sub esp, 0xc
fstp dword [esp + 0x220]
fxch st(1)
fadd dword [esi]
fstp dword [esp + 0xe0]
mov edx, dword [esp + 0xe0]
mov dword [ecx], edx
fadd dword [esi + 4]
fstp dword [esp + 0xe4]
mov eax, dword [esp + 0xe4]
fld dword [esp + 0x220]
mov dword [ecx + 4], eax
fadd dword [esi + 8]
mov eax, esi
fstp dword [esp + 0xe8]
mov edx, dword [esp + 0xe8]
mov dword [ecx + 8], edx
mov edx, dword [eax]
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
call fcn.00576ca6
add esp, 0x20
test eax, eax
je 0x5b1beb
fld dword [esp + 0x3c]
mov ecx, dword [esp + 0x3c]
fmul dword [ebx - 8]
mov dword [esp + 0x16c], ecx
fld dword [esp + 0x3c]
fmul dword [ebx - 4]
fld dword [esp + 0x3c]
fmul dword [ebx]
fstp dword [esp + 0x20c]
fxch st(1)
fadd dword [esi]
fstp dword [esp + 0x100]
mov edx, dword [esp + 0x100]
mov dword [esp + 0x170], edx
fadd dword [esi + 4]
mov edx, dword [esp + 0x60]
mov dword [esp + 0x188], edx
fstp dword [esp + 0x104]
mov eax, dword [esp + 0x104]
fld dword [esp + 0x20c]
mov dword [esp + 0x174], eax
fadd dword [esi + 8]
mov eax, dword [esp + 0x64]
mov dword [esp + 0x18c], eax
fstp dword [esp + 0x108]
mov ecx, dword [esp + 0x108]
fld dword [esp + 0x78]
mov dword [esp + 0x178], ecx
fsub dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
fld dword [esp + 0x7c]
mov dword [esp + 0x190], ecx
fsub dword [esp + 0x70]
fld dword [esp + 0x80]
fsub dword [esp + 0x74]
fld dword [esp + 0x6c]
fsub dword [esp + 0x60]
fstp dword [esp + 0xdc]
fld dword [esp + 0x70]
fsub dword [esp + 0x64]
fstp dword [esp + 0xe0]
fld dword [esp + 0x74]
fsub dword [esp + 0x68]
fld dword [esp + 0xe0]
fmul st(2)
fld st(1)
fmul st(4)
fsubp st(1)
fstp dword [esp + 0x84]
mov edx, dword [esp + 0x84]
fmul st(3)
mov dword [esp + 0x2c], edx
fxch st(1)
fmul dword [esp + 0xdc]
fsubp st(1)
fstp dword [esp + 0x88]
mov eax, dword [esp + 0x88]
fmul dword [esp + 0xdc]
mov dword [esp + 0x30], eax
fld dword [esp + 0xe0]
fmul st(2)
fsubp st(1)
fstp dword [esp + 0x8c]
mov ecx, dword [esp + 0x8c]
fstp st(0)
mov dword [esp + 0x34], ecx
fld dword [esp + 0x34]
fmul dword [esp + 0x34]
fld dword [esp + 0x30]
fmul dword [esp + 0x30]
faddp st(1)
fld dword [esp + 0x2c]
fmul dword [esp + 0x2c]
faddp st(1)
fsqrt
fcom dword [0x64fed4]
fnstsw ax
test ah, 0x41
jp 0x5b1b4e
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
jmp 0x5b1b72
fdivr dword [0x64fe64]
fld dword [esp + 0x2c]
fmul st(1)
fstp dword [esp + 0x2c]
fld dword [esp + 0x30]
fmul st(1)
fstp dword [esp + 0x30]
fld dword [esp + 0x34]
fmul st(1)
fstp dword [esp + 0x34]
mov eax, dword [esp + 0x30]
fstp st(0)
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x2c]
add ebp, 0x28
mov dword [esp + 0x180], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x184], ecx
cmp dword [ebp + 4], eax
mov dword [esp + 0x17c], edx
mov dword [esp + 0x194], 1
jne 0x5b1bc0
test eax, eax
je 0x5b1bb3
add eax, eax
jmp 0x5b1bb8
mov eax, 0x10
push eax
mov ecx, ebp
call fcn.005a9ea0
mov edi, dword [ebp + 4]
mov ecx, dword [ebp]
imul edi, edi, 0x2c
add edi, ecx
mov ecx, 0xb
lea esi, [esp + 0x16c]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 4]
mov edi, dword [esp + 0x38]
inc eax
mov dword [ebp + 4], eax
mov ebp, dword [esp + 0xec]
mov eax, dword [esp + 0x28]
add ebx, 0xc
dec eax
mov dword [esp + 0x28], eax
jne 0x5b1937
mov eax, dword [esp + 0x40]
add edi, 6
dec eax
mov dword [esp + 0x38], edi
mov dword [esp + 0x40], eax
jne 0x5b18c0
mov esi, dword [esp + 0xe8]
mov edx, dword [esp + 0x5c]
add edx, 4
cmp edx, 0x10
mov dword [esp + 0x5c], edx
jl 0x5b1631
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x200
ret