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

Disassembly:
push 0xffffffffffffffff
push 0x698cbb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xe0
fld dword [esp + 0xf8]
fcomp dword [0x6a37dc]
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x20], esi
fnstsw ax
test ah, 0x41
jne 0x5b7d71
mov al, byte [0x81a22c]
test al, 1
jne 0x5b71de
mov dl, al
push fcn.004465e0
or dl, 1
mov byte [0x81a22c], dl
call fcn.00673ac4
add esp, 4
mov edi, dword [esp + 0x104]
fld dword [esp + 0x108]
fmul dword [edi]
fstp dword [0x81a230]
fld dword [esp + 0x108]
fmul dword [edi + 4]
mov eax, dword [0x81a230]
mov dword [esp + 0x24], eax
mov al, byte [0x81a204]
test al, 1
fstp dword [0x81a234]
fld dword [esp + 0x108]
fmul dword [edi + 8]
mov ecx, dword [0x81a234]
mov dword [esp + 0x28], ecx
fstp dword [0x81a238]
mov edx, dword [0x81a238]
mov dword [esp + 0x2c], edx
jne 0x5b7252
mov dl, al
push fcn.004465e0
or dl, 1
mov byte [0x81a204], dl
call fcn.00673ac4
add esp, 4
mov ebp, dword [esp + 0x100]
fld dword [esp + 0x24]
fadd dword [ebp]
fstp dword [0x81a210]
fld dword [esp + 0x28]
fadd dword [ebp + 4]
mov eax, dword [0x81a210]
mov dword [esp + 0x84], eax
fstp dword [0x81a214]
fld dword [esp + 0x2c]
fadd dword [ebp + 8]
mov ecx, dword [0x81a214]
mov dword [esp + 0x88], ecx
fstp dword [0x81a218]
fld dword [esp + 0x108]
fcomp dword [0x6a4108]
mov edx, dword [0x81a218]
mov dword [esp + 0x8c], edx
fnstsw ax
test ah, 1
je 0x5b73a6
mov al, byte [0x81a22c]
test al, 1
jne 0x5b72df
mov dl, al
push fcn.004465e0
or dl, 1
mov byte [0x81a22c], dl
call fcn.00673ac4
add esp, 4
fld dword [edi]
fmul dword [0x6a4108]
fstp dword [0x81a230]
fld dword [edi + 4]
fmul dword [0x6a4108]
mov eax, dword [0x81a230]
mov dword [esp + 0x24], eax
mov al, byte [0x81a204]
test al, 1
fstp dword [0x81a234]
fld dword [edi + 8]
fmul dword [0x6a4108]
mov ecx, dword [0x81a234]
mov dword [esp + 0x28], ecx
fstp dword [0x81a238]
mov edx, dword [0x81a238]
mov dword [esp + 0x2c], edx
jne 0x5b7349
mov dl, al
push fcn.004465e0
or dl, 1
mov byte [0x81a204], dl
call fcn.00673ac4
add esp, 4
fld dword [esp + 0x24]
fadd dword [ebp]
fstp dword [0x81a210]
fld dword [esp + 0x28]
fadd dword [ebp + 4]
mov eax, dword [0x81a210]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x118]
push eax
push 0x817600
fstp dword [0x81a214]
fld dword [esp + 0x34]
fadd dword [ebp + 8]
mov ecx, dword [0x81a214]
push 0x80
mov dword [esp + 0x44], ecx
lea ecx, [esp + 0x40]
push ecx
fstp dword [0x81a218]
mov edx, dword [0x81a218]
mov dword [esp + 0x4c], edx
jmp 0x5b73c0
mov edx, dword [esp + 0x118]
lea eax, [esp + 0x84]
push edx
push 0x817600
push 0x80
push eax
push ebp
mov ecx, esi
call fcn.005b8570
xor ecx, ecx
cmp eax, ecx
jle 0x5b7d71
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x1c], 0x7f7fffff
mov dword [esp + 0x30], 0x817600
mov dword [esp + 0x40], eax
mov edx, dword [esp + 0x30]
mov eax, dword [edx]
cmp eax, ecx
je 0x5b7bbc
mov eax, dword [eax]
cmp eax, ecx
jle 0x5b7bbc
mov dword [esp + 0x74], ecx
mov dword [esp + 0x44], ecx
jmp 0x5b7418
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
mov eax, dword [esp + 0x44]
mov edx, dword [ecx + 4]
mov ecx, dword [eax + edx]
add eax, edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
lea edi, [eax + eax*2]
mov eax, dword [esi + 0x2c]
shl edi, 2
lea ebp, [edx + edx*2]
lea esi, [eax + edi]
mov dword [esp + 0x18], esi
lea esi, [ecx + ecx*2]
shl ebp, 2
shl esi, 2
lea edx, [eax + ebp]
lea ebx, [esi + eax]
mov al, byte [0x81a180]
test al, 1
mov dword [esp + 0x10], edx
jne 0x5b7477
mov dl, al
push fcn.004465e0
or dl, 1
mov byte [0x81a180], dl
call fcn.00673ac4
add esp, 4
mov al, byte [0x81a180]
test al, 2
jne 0x5b7498
mov dl, al
push fcn.004465e0
or dl, 2
mov byte [0x81a180], dl
call fcn.00673ac4
add esp, 4
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0xcc]
push ebx
push eax
call fcn.0041d180
push eax
mov ecx, 0x81a190
call fcn.0041ea40
lea ecx, [esp + 0xb4]
push ebx
push ecx
mov ecx, dword [esp + 0x20]
call fcn.0041d180
push eax
mov ecx, 0x81a1a0
call fcn.0041ea40
push 0x81a1a0
push 0x81a190
lea ecx, [esp + 0x3c]
call fcn.00428d60
mov edx, dword [esp + 0x104]
lea ecx, [esp + 0x34]
push edx
call fcn.00428d40
fcomp dword [0x6a3c70]
fnstsw ax
test ah, 0x41
je 0x5b7b8d
mov eax, dword [esp + 0x104]
push 0x81a1a0
push eax
lea ecx, [esp + 0x3c]
call fcn.00428d60
lea ecx, [esp + 0x34]
push ecx
mov ecx, 0x81a190
call fcn.00428d40
fst dword [esp + 0x14]
fcomp dword [0x6a3c6c]
fnstsw ax
test ah, 1
jne 0x5b7b8d
push ebx
mov ebx, dword [esp + 0x104]
lea edx, [esp + 0x94]
mov ecx, ebx
push edx
call fcn.0041d180
lea eax, [esp + 0x34]
lea ecx, [esp + 0x90]
push eax
call fcn.00428d40
fst dword [0x81782c]
fcomp dword [0x6a37dc]
fnstsw ax
test ah, 1
jne 0x5b7b8d
fld dword [0x81782c]
fcomp dword [esp + 0x14]
fnstsw ax
test ah, 0x41
je 0x5b7b8d
lea ecx, [esp + 0x90]
push 0x81a190
push ecx
lea ecx, [esp + 0xa4]
call fcn.00428d60
mov eax, dword [esp + 0x104]
lea edx, [esp + 0x9c]
push edx
push eax
call fcn.00428d00
fst dword [0x817820]
fcomp dword [0x6a37dc]
add esp, 8
fnstsw ax
test ah, 1
jne 0x5b7b8d
fld dword [0x81782c]
fadd dword [0x817820]
fcomp dword [esp + 0x14]
fnstsw ax
test ah, 0x41
je 0x5b7b8d
fld dword [0x6a3a64]
fdiv dword [esp + 0x14]
lea ecx, [esp + 0x9c]
push ecx
push 0x81a1a0
fstp dword [esp + 0x18]
call fcn.00428d00
fmul dword [esp + 0x18]
lea edx, [esp + 0x54]
add esp, 8
test edx, edx
fstp dword [0x817808]
fld dword [esp + 0x10]
fmul dword [0x81782c]
fstp dword [0x81782c]
fld dword [esp + 0x10]
fmul dword [0x817820]
fstp dword [0x817820]
je 0x5b7681
mov eax, dword [0x817808]
lea ecx, [esp + 0xe4]
push eax
push ecx
mov ecx, dword [esp + 0x10c]
call fcn.0041d510
lea edx, [esp + 0xd8]
push eax
push edx
mov ecx, ebx
call fcn.00428230
push eax
lea ecx, [esp + 0x50]
call fcn.0041ea40
fld dword [0x817808]
fcomp dword [0x6a37dc]
fnstsw ax
test ah, 1
jne 0x5b7b8d
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x2c]
lea ecx, [eax + edi]
lea edx, [eax + ebp]
lea ebx, [esi + eax]
mov al, byte [0x81a1ac]
test al, 1
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], edx
jne 0x5b76d1
mov dl, al
push fcn.004465e0
or dl, 1
mov byte [0x81a1ac], dl
call fcn.00673ac4
add esp, 4
mov al, byte [0x81a1ac]
test al, 2
jne 0x5b76f2
mov dl, al
push fcn.004465e0
or dl, 2
mov byte [0x81a1ac], dl
call fcn.00673ac4
add esp, 4
mov al, byte [0x81a1ac]
test al, 4
jne 0x5b7713
mov dl, al
push fcn.004465e0
or dl, 4
mov byte [0x81a1ac], dl
call fcn.00673ac4
add esp, 4
mov al, byte [0x81a1ac]
test al, 8
jne 0x5b7734
mov dl, al
push fcn.004465e0
or dl, 8
mov byte [0x81a1ac], dl
call fcn.00673ac4
add esp, 4
mov al, byte [0x81a1ac]
test al, 0x10
jne 0x5b7755
mov dl, al
push fcn.004465e0
or dl, 0x10
mov byte [0x81a1ac], dl
call fcn.00673ac4
add esp, 4
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0xc0]
push ebx
push eax
call fcn.0041d180
push eax
mov ecx, 0x81a1b0
call fcn.0041ea40
lea ecx, [esp + 0x58]
push ebx
push ecx
mov ecx, dword [esp + 0x20]
call fcn.0041d180
push eax
mov ecx, 0x81a1c0
call fcn.0041ea40
push 0x81a1c0
push 0x81a1b0
mov ecx, 0x81a1d0
call fcn.00428d60
mov edx, dword [esp + 0x104]
mov ecx, 0x81a1d0
push edx
call fcn.00428d40
fst dword [0x81a1dc]
fcomp dword [0x6a3c70]
fnstsw ax
test ah, 0x41
je 0x5b78e7
mov eax, dword [esp + 0x104]
push 0x81a1c0
push eax
mov ecx, 0x81a1d0
call fcn.00428d60
push 0x81a1d0
mov ecx, 0x81a1b0
call fcn.00428d40
fst dword [0x81a1dc]
fcomp dword [0x6a3c6c]
fnstsw ax
test ah, 1
jne 0x5b78e7
lea ecx, [esp + 0xa8]
push ebx
push ecx
lea ecx, [esp + 0x8c]
call fcn.0041d180
push eax
mov ecx, 0x81a1e0
call fcn.0041ea40
push 0x81a1d0
mov ecx, 0x81a1e0
call fcn.00428d40
fst dword [0x81a1ec]
fcomp dword [0x6a37dc]
fnstsw ax
test ah, 1
jne 0x5b78e7
fld dword [0x81a1ec]
fcomp dword [0x81a1dc]
fnstsw ax
test ah, 0x41
je 0x5b78e7
push 0x81a1b0
push 0x81a1e0
mov ecx, 0x81a1f0
call fcn.00428d60
mov edx, dword [esp + 0x104]
push 0x81a1f0
push edx
call fcn.00428d00
fst dword [0x81a1fc]
fcomp dword [0x6a37dc]
add esp, 8
fnstsw ax
test ah, 1
jne 0x5b78e7
fld dword [0x81a1fc]
fadd dword [0x81a1ec]
fcomp dword [0x81a1dc]
fnstsw ax
test ah, 0x41
je 0x5b78e7
push 0x81a1f0
push 0x81a1c0
call fcn.00428d00
fdiv dword [0x81a1dc]
add esp, 8
fst dword [0x81a200]
fcomp dword [0x6a37dc]
fnstsw ax
test ah, 1
je 0x5b7b8d
mov al, byte [0x81a26c]
test al, 1
jne 0x5b7908
mov dl, al
push fcn.004465e0
or dl, 1
mov byte [0x81a26c], dl
call fcn.00673ac4
add esp, 4
mov eax, dword [esp + 0x100]
fld dword [eax]
fsub dword [esp + 0x4c]
fstp dword [0x81a270]
fld dword [eax + 4]
fsub dword [esp + 0x50]
fstp dword [0x81a274]
fld dword [eax + 8]
fsub dword [esp + 0x54]
mov eax, dword [0x81a270]
mov ecx, dword [0x81a274]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
fstp dword [0x81a278]
fld dword [esp + 0x78]
mov edx, dword [0x81a278]
fmul dword [esp + 0x78]
mov dword [esp + 0x80], edx
fld dword [esp + 0x80]
fmul dword [esp + 0x80]
faddp st(1)
fld dword [esp + 0x7c]
fmul dword [esp + 0x7c]
faddp st(1)
fsqrt
fcom dword [esp + 0x1c]
fnstsw ax
test ah, 1
je 0x5b7b8b
mov eax, dword [esp + 0x10c]
fstp dword [esp + 0x1c]
test eax, eax
je 0x5b79ab
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
mov dword [eax], ecx
mov ecx, dword [esp + 0x54]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x110]
test ecx, ecx
je 0x5b7b39
mov edx, dword [esp + 0x20]
mov al, byte [0x81a26c]
test al, 1
mov ebx, dword [edx + 0x2c]
jne 0x5b79e9
mov dl, al
push fcn.004465e0
or dl, 1
mov byte [0x81a26c], dl
call fcn.00673ac4
mov ecx, dword [esp + 0x114]
add esp, 4
fld dword [ebx + edi]
fsub dword [esi + ebx]
fstp dword [0x81a270]
fld dword [ebx + edi + 4]
fsub dword [esi + ebx + 4]
mov eax, dword [0x81a270]
mov dword [esp + 0x24], eax
fstp dword [0x81a274]
fld dword [ebx + edi + 8]
fsub dword [esi + ebx + 8]
mov edx, dword [0x81a274]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x20]
fstp dword [0x81a278]
mov eax, dword [0x81a278]
mov ebx, dword [edx + 0x2c]
mov dword [esp + 0x2c], eax
mov al, byte [0x81a26c]
test al, 1
jne 0x5b7a5c
mov dl, al
push fcn.004465e0
or dl, 1
mov byte [0x81a26c], dl
call fcn.00673ac4
mov ecx, dword [esp + 0x114]
add esp, 4
fld dword [ebx + ebp]
fsub dword [esi + ebx]
fstp dword [0x81a270]
fld dword [ebx + ebp + 4]
fsub dword [esi + ebx + 4]
mov eax, dword [0x81a270]
mov dword [esp + 0x68], eax
fstp dword [0x81a274]
fld dword [ebx + ebp + 8]
fsub dword [esi + ebx + 8]
mov edx, dword [0x81a274]
mov dword [esp + 0x6c], edx
fstp dword [0x81a278]
fld dword [esp + 0x2c]
fmul dword [esp + 0x6c]
mov eax, dword [0x81a278]
fld dword [esp + 0x28]
mov dword [esp + 0x70], eax
fmul dword [esp + 0x70]
fsubp st(1)
fst dword [ecx]
fld dword [esp + 0x70]
fmul dword [esp + 0x24]
fld dword [esp + 0x2c]
fmul dword [esp + 0x68]
fsubp st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x28]
fmul dword [esp + 0x68]
fld dword [esp + 0x6c]
fmul dword [esp + 0x24]
mov edx, dword [esp + 0x14]
mov dword [ecx + 4], edx
fsubp st(1)
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fmul dword [esp + 0x18]
fld dword [esp + 0x14]
fmul dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov dword [ecx + 8], eax
faddp st(1)
fld st(1)
fmul st(2)
faddp st(1)
fsqrt
fst dword [esp + 0x10]
fcomp dword [0x6a37dc]
fnstsw ax
test ah, 0x40
jne 0x5b7b37
fdiv dword [esp + 0x10]
fstp dword [ecx]
fld dword [esp + 0x14]
fdiv dword [esp + 0x10]
fstp dword [ecx + 4]
fld dword [esp + 0x18]
fdiv dword [esp + 0x10]
fstp dword [ecx + 8]
jmp 0x5b7b39
fstp st(0)
mov eax, dword [esp + 0x114]
test eax, eax
je 0x5b7b8d
mov ecx, dword [esp + 0x20]
add esi, dword [ecx + 0x2c]
mov edx, dword [esi]
mov dword [eax], edx
mov edx, dword [esi + 4]
mov dword [eax + 4], edx
mov edx, dword [esi + 8]
mov dword [eax + 8], edx
mov esi, dword [ecx + 0x2c]
add ebp, esi
mov edx, dword [ebp]
mov dword [eax + 0xc], edx
mov edx, dword [ebp + 4]
mov dword [eax + 0x10], edx
mov edx, dword [ebp + 8]
mov dword [eax + 0x14], edx
mov edx, dword [ecx + 0x2c]
mov ecx, dword [edi + edx]
add edi, edx
mov dword [eax + 0x18], ecx
mov edx, dword [edi + 4]
mov dword [eax + 0x1c], edx
mov ecx, dword [edi + 8]
mov dword [eax + 0x20], ecx
jmp 0x5b7b8d
fstp st(0)
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x74]
mov esi, dword [esp + 0x44]
inc eax
mov ecx, dword [edx]
add esi, 0xc
mov dword [esp + 0x74], eax
mov dword [esp + 0x44], esi
cmp eax, dword [ecx]
jl 0x5b7414
mov ebp, dword [esp + 0x100]
mov esi, dword [esp + 0x20]
xor ecx, ecx
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x40]
add edx, 4
dec eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x40], eax
jne 0x5b73f2
fld dword [esp + 0x1c]
fcomp dword [0x6a3f5c]
fnstsw ax
test ah, 0x40
jne 0x5b7bee
mov al, 1
jmp 0x5b7d73
mov al, byte [esp + 0x11c]
test al, al
je 0x5b7d71
mov ebx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
cmp eax, ecx
mov edi, dword [ebx]
jle 0x5b7d71
mov dl, byte [esp + 0x4b]
mov dword [esp + 0x1c], ecx
mov byte [esp + 0x58], dl
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], ecx
cmp edi, ebx
mov dword [esp + 0xf8], ecx
je 0x5b7cc7
mov eax, dword [edi + 8]
mov dword [esp + 0x1c], eax
cmp dword [eax + 0x134], ecx
je 0x5b7cbd
add eax, 0x48
push ebp
mov ecx, dword [eax]
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0xac]
mov edx, dword [eax + 4]
push ecx
mov dword [esp + 0x40], edx
lea ecx, [esp + 0x3c]
mov eax, dword [eax + 8]
mov dword [esp + 0x44], eax
call fcn.0041d180
fld dword [eax + 8]
fld dword [eax + 4]
fld dword [eax]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
mov eax, dword [esp + 0x1c]
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fstp st(3)
fstp st(0)
fstp st(0)
fld dword [eax + 0x118]
fmul dword [eax + 0x40]
fstp dword [esp + 0x40]
fsqrt
fcomp dword [esp + 0x40]
fnstsw ax
test ah, 0x41
je 0x5b7cbb
mov eax, dword [esp + 0x60]
lea edx, [esp + 0x1c]
push edx
push eax
lea ecx, [esp + 0x60]
call fcn.005b9770
xor ecx, ecx
mov edi, dword [edi]
cmp edi, ebx
jne 0x5b7c34
lea ecx, [esp + 0x58]
call fcn.0049cab0
test eax, eax
je 0x5b7d5d
lea ecx, [esp + 0x58]
call fcn.0049cab0
mov edi, eax
cmp edi, 1
jle 0x5b7cfd
mov ecx, dword [esp + 0x5c]
push 0x5b83d0
push 4
push edi
push ecx
call fcn.0067489a
add esp, 0x10
xor esi, esi
test edi, edi
jle 0x5b7d5d
push 0
push 0
push 0
lea ecx, [esp + 0x40]
call fcn.004651d0
mov edx, dword [esp + 0x5c]
mov eax, dword [edx + esi*4]
mov edx, dword [esp + 0x110]
push edx
lea edx, [esp + 0x38]
mov ecx, dword [eax + 0x134]
push edx
lea edx, [esp + 0x8c]
add eax, 0x54
push edx
push ebp
push eax
call fcn.004488b0
cmp al, 1
jne 0x5b7d58
lea ecx, [esp + 0x34]
call fcn.0041d080
fcomp dword [0x6a37dc]
fnstsw ax
test ah, 0x41
je 0x5b7d8e
inc esi
cmp esi, edi
jl 0x5b7d03
lea ecx, [esp + 0x58]
mov dword [esp + 0xf8], 0xffffffff
call fcn.00498730
xor al, al
mov ecx, dword [esp + 0xf0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xec
ret 0x20
mov ecx, dword [esp + 0x10c]
test ecx, ecx
je 0x5b7da3
lea eax, [esp + 0x34]
push eax
call fcn.0041ea40
lea ecx, [esp + 0x58]
mov dword [esp + 0xf8], 0xffffffff
call fcn.00498730
mov al, 1
jmp 0x5b7d73