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

Disassembly:
push 0xffffffffffffffff
push 0x83e4e6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x80
call fcn.005fb800
test eax, eax
mov dword [esp + 0x10], eax
jge 0x5fc9f1
xor al, al
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
add esp, 0x8c
ret 0x10
push ebx
mov ebx, dword [esp + 0x9c]
push ebp
push esi
push edi
push 0x40400000
push ebx
mov ecx, 0xb6f028
call fcn.00420d40
test al, al
je 0x5fca5d
push 0xffffffffffffffff
call fcn.0056e210
mov ecx, dword [eax + 0x14]
add esp, 4
test ecx, ecx
je 0x5fca26
lea eax, [ecx + 0x30]
jmp 0x5fca29
add eax, 4
fld dword [ebx + 4]
fsub dword [eax + 4]
fld dword [ebx]
fsub dword [eax]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fstp st(2)
fstp st(0)
fsqrt
fstp dword [esp + 0x24]
call fcn.006116c0
fmul dword [0x86c850]
fcomp dword [esp + 0x24]
fnstsw ax
test ah, 0x41
je 0x5fcaae
mov ebp, 1
push ebp
push ebp
push ebp
push 0
push 0xffffffffffffffff
push 0x40400000
push ebx
call fcn.00616860
add esp, 0x1c
test al, al
je 0x5fcaae
fld dword [ebx + 8]
mov edx, dword [ebx]
fadd dword [0x858624]
push 0
lea eax, [esp + 0x16]
push eax
push ecx
mov ecx, dword [ebx + 4]
fstp dword [esp]
push ecx
push edx
call fcn.005696c0
fadd dword [0x858624]
mov al, byte [esp + 0x26]
add esp, 0x14
test al, al
jne 0x5fcab5
fstp st(0)
xor al, al
jmp 0x5fce58
fcom dword [ebx + 8]
fnstsw ax
test ah, 5
jp 0x5fcaca
mov eax, dword [ebx + 8]
fstp st(0)
mov dword [esp + 0x1c], eax
jmp 0x5fcace
fstp dword [esp + 0x1c]
mov esi, dword [esp + 0xa0]
lea eax, [esi - 7]
push eax
call fcn.00611550
mov ecx, dword [eax*4 + 0xa9b0c8]
mov edx, dword [ecx + 0x1c]
add esp, 4
test edx, edx
je 0x5fcaae
mov ecx, dword [ebx]
fld dword [ebx + 4]
mov edx, dword [esp + 0x1c]
fstp dword [esp + 0x38]
mov dword [esp + 0x34], ecx
push 0
lea ecx, [esp + 0x38]
push ecx
push eax
push esi
mov dword [esp + 0x4c], edx
call fcn.00612710
mov edi, eax
add esp, 0x10
test edi, edi
je 0x5fcaae
cmp dword [esp + 0xa4], 1
mov dword [esp + 0x70], edi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x24], ebp
jg 0x5fcbb0
mov esi, dword [esp + 0x20]
imul esi, esi, 0x2d4
add esi, 0xc09920
lea ebx, [esi + 0x30]
push 0xc09908
mov ecx, ebx
call fcn.005fb280
lea ebp, [esi + 8]
mov esi, dword [esp + 0x70]
push esi
mov ecx, ebp
call fcn.005fb9c0
mov ecx, ebp
call fcn.005fba60
mov ecx, ebx
call fcn.005fc4a0
push 0x28
call fcn.0061a5a0
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
mov dword [esp + 0x98], 0
je 0x5fcdb9
mov ecx, dword [esp + 0x20]
push 1
push ecx
mov ecx, eax
call fcn.00632e50
jmp 0x5fcdbb
mov esi, dword [esp + 0xa0]
jmp 0x5fcbb0
lea eax, [esi - 7]
push eax
call fcn.00611550
mov ecx, dword [eax*4 + 0xa9b0c8]
mov edx, dword [ecx + 0x1c]
add esp, 4
test edx, edx
je 0x5fcd74
mov edx, dword [ebx]
fld dword [ebx + 4]
mov ecx, dword [esp + 0x1c]
fstp dword [esp + 0x44]
mov dword [esp + 0x40], edx
push 0
lea edx, [esp + 0x44]
push edx
push eax
push esi
mov dword [esp + 0x58], ecx
call fcn.00612710
mov esi, eax
add esp, 0x10
test esi, esi
je 0x5fcd74
fld dword [ebp*8 + 0xc196ec]
mov eax, dword [edi + 0x14]
test eax, eax
fld dword [ebp*8 + 0xc196e8]
fstp dword [esp + 0x4c]
mov dword [esp + 0x54], 0
fstp dword [esp + 0x50]
je 0x5fcc28
add eax, 0x30
jmp 0x5fcc2b
lea eax, [edi + 4]
lea ecx, [esp + 0x4c]
push ecx
push eax
lea edx, [esp + 0x6c]
push edx
call fcn.0040fe30
add esp, 0xc
push eax
mov ecx, esi
call fcn.004241c0
mov eax, dword [esi + 0x14]
test eax, eax
je 0x5fcc52
add eax, 0x30
jmp 0x5fcc55
lea eax, [esi + 4]
mov ebx, dword [eax]
mov ebp, dword [eax + 4]
mov eax, dword [eax + 8]
push 0
mov dword [esp + 0x34], eax
fld dword [esp + 0x34]
fadd dword [0x858624]
lea ecx, [esp + 0x17]
push ecx
push ecx
fstp dword [esp]
push ebp
push ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebp
call fcn.005696c0
fadd dword [0x858624]
fld dword [esp + 0x44]
add esp, 0x14
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x5fcca7
mov edx, dword [esp + 0x30]
fstp st(0)
mov dword [esp + 0x18], edx
jmp 0x5fccab
fstp dword [esp + 0x18]
mov al, byte [esp + 0x13]
test al, al
jne 0x5fccc1
push esi
call fcn.00610f20
add esp, 4
jmp 0x5fcd6d
mov ecx, dword [edi + 0x14]
test ecx, ecx
lea eax, [ecx + 0x30]
jne 0x5fccce
lea eax, [edi + 4]
fld dword [esp + 0x18]
fsub dword [eax + 8]
fabs
fcomp dword [0x858624]
fnstsw ax
test ah, 0x41
jne 0x5fccef
push esi
call fcn.00610f20
add esp, 4
jmp 0x5fcd6d
test ecx, ecx
je 0x5fccf8
add ecx, 0x30
jmp 0x5fccfb
lea ecx, [edi + 4]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
push 0
push 0
push 0
push 0
push 0
push 0
push 1
push ecx
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x78]
push ecx
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], eax
call fcn.0056a490
add esp, 0x24
test al, al
jne 0x5fcd44
push esi
call fcn.00610f20
add esp, 4
jmp 0x5fcd6d
mov edx, dword [esp + 0x18]
push edx
push ebp
push ebx
mov ecx, esi
call fcn.00420b80
mov eax, dword [esp + 0x14]
mov dword [esp + eax*4 + 0x70], esi
mov esi, dword [esi + 0x18]
inc eax
push 0
push esi
mov dword [esp + 0x1c], eax
call fcn.00732b00
add esp, 8
mov ebx, dword [esp + 0xa8]
mov ebp, dword [esp + 0x24]
mov eax, dword [esp + 0xa4]
inc ebp
cmp ebp, eax
mov dword [esp + 0x24], ebp
jl 0x5fcba1
mov edi, dword [esp + 0x14]
cmp edi, 1
jge 0x5fcb31
xor esi, esi
test edi, edi
jle 0x5fcdb2
nop
mov eax, dword [esp + esi*4 + 0x70]
push eax
call fcn.00610f20
add esp, 4
inc esi
cmp esi, edi
jl 0x5fcda0
xor al, al
jmp 0x5fce58
xor eax, eax
mov ecx, dword [esi + 0x47c]
push 0
push 3
push eax
add ecx, 4
mov dword [esp + 0xa4], 0xffffffff
call fcn.00681af0
mov eax, dword [esp + 0x14]
mov esi, 1
cmp eax, esi
jle 0x5fce56
mov edi, dword [esp + esi*4 + 0x70]
push edi
mov ecx, ebp
call fcn.005f8020
mov ecx, ebp
call fcn.005fba60
mov ecx, ebx
call fcn.005fc4a0
push 0x28
call fcn.0061a5a0
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
mov dword [esp + 0x98], 1
je 0x5fce2d
mov edx, dword [esp + 0x20]
push 0
push edx
mov ecx, eax
call fcn.00632e50
jmp 0x5fce2f
xor eax, eax
mov ecx, dword [edi + 0x47c]
push 0
push 3
push eax
add ecx, 4
mov dword [esp + 0xa4], 0xffffffff
call fcn.00681af0
mov eax, dword [esp + 0x14]
inc esi
cmp esi, eax
jl 0x5fcde6
mov al, 1
mov ecx, dword [esp + 0x90]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x8c
ret 0x10
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x83e506
push eax
mov dword fs:[0], esp
sub esp, 0x80
push edi
mov edi, dword [esp + 0x98]
cmp edi, 2
jge 0x5fceaf
xor al, al
jmp 0x5fd315
call fcn.005fb800
test eax, eax
mov dword [esp + 0x14], eax
jl 0x5fcea8
fild dword [esp + 0x98]
push ebx
mov ebx, dword [esp + 0xa0]
push ebp
fdivr dword [0x858cbc]
push esi
mov ecx, 0xb6f028
fst dword [esp + 0x18]
fcos
fsubr dword [0x858624]
fdivr dword [0x858b8c]
fsqrt
fstp dword [esp + 0x1c]
mov esi, dword [esp + 0x1c]
push esi
push ebx
call fcn.00420d40
test al, al
je 0x5fcf50
push 0xffffffffffffffff
call fcn.0056e210
mov ecx, dword [eax + 0x14]
add esp, 4
test ecx, ecx
je 0x5fcf15
lea eax, [ecx + 0x30]
jmp 0x5fcf18
add eax, 4
fld dword [ebx + 4]
fsub dword [eax + 4]
fld dword [ebx]
fsub dword [eax]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fstp st(2)
fstp st(0)
fsqrt
fstp dword [esp + 0x2c]
call fcn.006116c0
fmul dword [0x86c850]
fcomp dword [esp + 0x2c]
fnstsw ax
test ah, 0x41
je 0x5fd202
push 1
push 1
push 1
push 0
push 0xffffffffffffffff
push esi
push ebx
call fcn.00616860
add esp, 0x1c
test al, al
je 0x5fd202
xor ebp, ebp
xor esi, esi
test edi, edi
mov dword [esp + 0x24], ebp
mov dword [esp + 0x14], esi
jle 0x5fd1ea
call fcn.00821b1e
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
fmul dword [0x858c7c]
fmul dword [0x858ee8]
fsub dword [0x858cc4]
fmul dword [esp + 0x18]
fstp dword [esp + 0x28]
call fcn.00821b1e
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
push 0
lea eax, [esp + 0x17]
push eax
fmul dword [0x858c7c]
sub esp, 0xc
fmul dword [0x858ee8]
fsub dword [0x858cc4]
fmul dword [esp + 0x30]
fstp dword [esp + 0x40]
fild dword [esp + 0x28]
fmul dword [esp + 0x2c]
fadd dword [esp + 0x3c]
fld dword [esp + 0x40]
fadd dword [esp + 0x30]
fld st(1)
fcos
fmul st(1)
fstp dword [esp + 0x40]
fxch st(1)
fsin
fmul st(1)
fstp dword [esp + 0x3c]
fstp st(0)
fld dword [ebx + 8]
fadd dword [0x858624]
fstp dword [esp + 8]
fld dword [esp + 0x3c]
fadd dword [ebx + 4]
fstp dword [esp + 4]
fld dword [esp + 0x40]
fadd dword [ebx]
fstp dword [esp]
call fcn.005696c0
mov al, byte [esp + 0x27]
fadd dword [0x858624]
add esp, 0x14
test al, al
je 0x5fd1cb
fcom dword [ebx + 8]
fnstsw ax
test ah, 5
jp 0x5fd04c
fstp st(0)
fld dword [ebx + 8]
test esi, esi
fld dword [esp + 0x28]
fadd dword [ebx + 4]
fld dword [esp + 0x2c]
fadd dword [ebx]
fstp dword [esp + 0x34]
fstp dword [esp + 0x38]
fstp dword [esp + 0x3c]
jne 0x5fd081
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0xa0]
add ecx, 0xfffffff9
push ecx
call fcn.00611550
mov esi, eax
mov edx, dword [esi*4 + 0xa9b0c8]
mov eax, dword [edx + 0x1c]
add esp, 4
test eax, eax
je 0x5fd1cd
push 1
push 1
xor eax, eax
mov ecx, 9
lea edi, [esp + 0x74]
rep stosd dword es:[edi], eax
mov edx, dword [edx + 0x14]
mov edx, dword [edx + 0x24]
push 1
lea eax, [esp + 0x78]
push eax
mov ecx, edx
push 9
mov dword [esp + 0x44], edx
push ecx
lea edx, [esp + 0x4c]
push edx
call fcn.00616860
add esp, 0x1c
mov byte [esp + 0x12], 0
xor edx, edx
mov ecx, dword [esp + edx*4 + 0x6c]
test ecx, ecx
je 0x5fd10f
xor eax, eax
test ebp, ebp
jle 0x5fd0fc
cmp ecx, dword [esp + eax*4 + 0x4c]
je 0x5fd10f
inc eax
cmp eax, ebp
jl 0x5fd0f1
mov byte [esp + 0x12], 1
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x5fd117
mov cl, 1
mov al, cl
jmp 0x5fd156
inc edx
cmp edx, 9
jl 0x5fd0e3
jmp 0x5fd101
push 0
push 0
push 0
push 0
push 0
push 0
push 1
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x54]
push ecx
call fcn.0056a490
fld dword [esp + 0x60]
fsub dword [esp + 0x6c]
mov cl, al
add esp, 0x24
fabs
fcomp dword [0x858624]
fnstsw ax
test ah, 5
jp 0x5fd154
mov al, 1
jmp 0x5fd156
xor al, al
mov dl, byte [esp + 0x12]
test dl, dl
jne 0x5fd1cd
test cl, cl
je 0x5fd1cd
test al, al
je 0x5fd1cd
mov eax, dword [esp + 0xa0]
push 0
lea edx, [esp + 0x38]
push edx
push esi
push eax
call fcn.00612710
mov esi, eax
add esp, 0x10
test esi, esi
je 0x5fd1bf
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
mov eax, dword [ebx + 4]
push ecx
mov ecx, dword [ebx]
push edx
push eax
mov dword [esp + ebp*4 + 0x58], esi
inc ebp
push ecx
mov dword [esp + 0x34], ebp
call fcn.0053cbe0
fst dword [esi + 0x558]
fstp dword [esi + 0x55c]
mov esi, dword [esi + 0x18]
push 0
push esi
call fcn.00732b00
add esp, 0x18
jmp 0x5fd1cd
push 0
call fcn.00610f20
add esp, 4
jmp 0x5fd1cd
fstp st(0)
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0xa4]
inc esi
cmp esi, eax
mov dword [esp + 0x14], esi
jl 0x5fcf80
cmp ebp, 1
jge 0x5fd209
xor esi, esi
test ebp, ebp
jle 0x5fd202
mov edx, dword [esp + esi*4 + 0x4c]
push edx
call fcn.00610f20
add esp, 4
inc esi
cmp esi, ebp
jl 0x5fd1f0
xor al, al
jmp 0x5fd312
mov esi, dword [esp + 0x20]
imul esi, esi, 0x2d4
add esi, 0xc09920
lea ebx, [esi + 0x30]
push 0xc09910
mov ecx, ebx
call fcn.005fb280
lea ebp, [esi + 8]
mov esi, dword [esp + 0x4c]
push esi
mov ecx, ebp
call fcn.005fb9c0
mov ecx, ebp
call fcn.005fba60
mov ecx, ebx
call fcn.005fc4a0
push 0x28
call fcn.0061a5a0
add esp, 4
mov dword [esp + 0x30], eax
test eax, eax
mov dword [esp + 0x98], 0
je 0x5fd272
mov ecx, dword [esp + 0x20]
push 1
push ecx
mov ecx, eax
call fcn.00632e50
jmp 0x5fd274
xor eax, eax
mov ecx, dword [esi + 0x47c]
push 0
push 3
push eax
add ecx, 4
mov dword [esp + 0xa4], 0xffffffff
call fcn.00681af0
mov eax, dword [esp + 0x24]
mov esi, 1
cmp eax, esi
jle 0x5fd310
nop
mov edi, dword [esp + esi*4 + 0x4c]
push edi
mov ecx, ebp
call fcn.005f8020
mov ecx, ebp
call fcn.005fba60
mov ecx, ebx
call fcn.005fc4a0
push 0x28
call fcn.0061a5a0
add esp, 4
mov dword [esp + 0x30], eax
test eax, eax
mov dword [esp + 0x98], 1
je 0x5fd2e7
mov edx, dword [esp + 0x20]
push 0
push edx
mov ecx, eax
call fcn.00632e50
jmp 0x5fd2e9
xor eax, eax
mov ecx, dword [edi + 0x47c]
push 0
push 3
push eax
add ecx, 4
mov dword [esp + 0xa4], 0xffffffff
call fcn.00681af0
mov eax, dword [esp + 0x24]
inc esi
cmp esi, eax
jl 0x5fd2a0
mov al, 1
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x84]
pop edi
mov dword fs:[0], ecx
add esp, 0x8c
ret 0x10
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x83e526
push eax
mov dword fs:[0], esp
sub esp, 0x80
push edi
mov edi, dword [esp + 0x98]
cmp edi, 2
jge 0x5fd35f
xor al, al
jmp 0x5fd7f5
call fcn.005fb800
test eax, eax
mov dword [esp + 0x20], eax
jl 0x5fd358
fild dword [esp + 0x98]
push ebx
push ebp
mov ebp, dword [esp + 0xa4]
fdivr dword [0x858cbc]
push esi
mov ecx, 0xb6f028
fst dword [esp + 0x18]
fcos
fsubr dword [0x858624]
fdivr dword [0x858b8c]
fsqrt
fstp dword [esp + 0x1c]
mov esi, dword [esp + 0x1c]
push esi
push ebp
call fcn.00420d40
test al, al
je 0x5fd401
push 0xffffffffffffffff
call fcn.0056e210
mov ecx, dword [eax + 0x14]
add esp, 4
test ecx, ecx
je 0x5fd3c5
lea eax, [ecx + 0x30]
jmp 0x5fd3c8
add eax, 4
fld dword [ebp + 4]
fsub dword [eax + 4]
fld dword [ebp]
fsub dword [eax]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fstp st(2)
fstp st(0)
fsqrt
fstp dword [esp + 0x28]
call fcn.006116c0
fmul dword [0x86c850]
fcomp dword [esp + 0x28]
fnstsw ax
test ah, 0x41
je 0x5fd6b6
push 1
push 1
push 1
push 0
push 0xffffffffffffffff
push esi
push ebp
call fcn.00616860
add esp, 0x1c
test al, al
je 0x5fd6b6
xor ebx, ebx
xor esi, esi
test edi, edi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x14], esi
jle 0x5fd69e
call fcn.00821b1e
mov dword [esp + 0x28], eax
fild dword [esp + 0x28]
fmul dword [0x858c7c]
fmul dword [0x858ee8]
fsub dword [0x858cc4]
fmul dword [esp + 0x18]
fstp dword [esp + 0x24]
call fcn.00821b1e
mov dword [esp + 0x28], eax
fild dword [esp + 0x28]
push 0
lea eax, [esp + 0x17]
fmul dword [0x858c7c]
push eax
sub esp, 0xc
fmul dword [0x858ee8]
fsub dword [0x858cc4]
fmul dword [esp + 0x30]
fstp dword [esp + 0x3c]
fild dword [esp + 0x28]
fmul dword [esp + 0x2c]
fadd dword [esp + 0x38]
fld dword [esp + 0x3c]
fadd dword [esp + 0x30]
fld st(1)
fcos
fmul st(1)
fstp dword [esp + 0x3c]
fxch st(1)
fsin
fmul st(1)
fstp dword [esp + 0x38]
fstp st(0)
fld dword [ebp + 8]
fadd dword [0x858624]
fstp dword [esp + 8]
fld dword [esp + 0x38]
fadd dword [ebp + 4]
fstp dword [esp + 4]
fld dword [esp + 0x3c]
fadd dword [ebp]
fstp dword [esp]
call fcn.005696c0
mov al, byte [esp + 0x27]
fadd dword [0x858624]
add esp, 0x14
test al, al
je 0x5fd67f
fcom dword [ebp + 8]
fnstsw ax
test ah, 5
jp 0x5fd4fe
fstp st(0)
fld dword [ebp + 8]
test esi, esi
fld dword [esp + 0x24]
fadd dword [ebp + 4]
fld dword [esp + 0x28]
fadd dword [ebp]
fstp dword [esp + 0x34]
fstp dword [esp + 0x38]
fstp dword [esp + 0x3c]
jne 0x5fd534
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0xa0]
add ecx, 0xfffffff9
push ecx
call fcn.00611550
mov esi, eax
mov edx, dword [esi*4 + 0xa9b0c8]
mov eax, dword [edx + 0x1c]
add esp, 4
test eax, eax
je 0x5fd681
push 1
push 1
xor eax, eax
mov ecx, 9
lea edi, [esp + 0x74]
rep stosd dword es:[edi], eax
mov edx, dword [edx + 0x14]
mov edx, dword [edx + 0x24]
push 1
lea eax, [esp + 0x78]
push eax
mov ecx, edx
push 9
mov dword [esp + 0x44], edx
push ecx
lea edx, [esp + 0x4c]
push edx
call fcn.00616860
add esp, 0x1c
mov byte [esp + 0x12], 0
xor edx, edx
mov ecx, dword [esp + edx*4 + 0x6c]
test ecx, ecx
je 0x5fd5c2
xor eax, eax
test ebx, ebx
jle 0x5fd5af
cmp ecx, dword [esp + eax*4 + 0x4c]
je 0x5fd5c2
inc eax
cmp eax, ebx
jl 0x5fd5a4
mov byte [esp + 0x12], 1
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x5fd5ca
mov cl, 1
mov al, cl
jmp 0x5fd609
inc edx
cmp edx, 9
jl 0x5fd596
jmp 0x5fd5b4
push 0
push 0
push 0
push 0
push 0
push 0
push 1
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x54]
push ecx
call fcn.0056a490
fld dword [esp + 0x60]
fsub dword [esp + 0x6c]
mov cl, al
add esp, 0x24
fabs
fcomp dword [0x858624]
fnstsw ax
test ah, 5
jp 0x5fd607
mov al, 1
jmp 0x5fd609
xor al, al
mov dl, byte [esp + 0x12]
test dl, dl
jne 0x5fd681
test cl, cl
je 0x5fd681
test al, al
je 0x5fd681
mov eax, dword [esp + 0xa0]
push 0
lea edx, [esp + 0x38]
push edx
push esi
push eax
call fcn.00612710
mov esi, eax
add esp, 0x10
test esi, esi
je 0x5fd673
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
mov eax, dword [ebp + 4]
push ecx
mov ecx, dword [ebp]
push edx
push eax
mov dword [esp + ebx*4 + 0x58], esi
inc ebx
push ecx
mov dword [esp + 0x30], ebx
call fcn.0053cbe0
fst dword [esi + 0x558]
fstp dword [esi + 0x55c]
mov esi, dword [esi + 0x18]
push 0
push esi
call fcn.00732b00
add esp, 0x18
jmp 0x5fd681
push 0
call fcn.00610f20
add esp, 4
jmp 0x5fd681
fstp st(0)
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0xa4]
inc esi
cmp esi, eax
mov dword [esp + 0x14], esi
jl 0x5fd431
cmp ebx, 1
jge 0x5fd6bd
xor esi, esi
test ebx, ebx
jle 0x5fd6b6
mov edx, dword [esp + esi*4 + 0x4c]
push edx
call fcn.00610f20
add esp, 4
inc esi
cmp esi, ebx
jl 0x5fd6a4
xor al, al
jmp 0x5fd7f2
mov esi, dword [esp + 0x2c]
imul esi, esi, 0x2d4
add esi, 0xc09920
lea ebx, [esi + 0x30]
push 0xc09918
mov ecx, ebx
call fcn.005fb280
mov eax, dword [esp + 0x20]
xor edi, edi
test eax, eax
jle 0x5fd7f0
lea ebp, [esi + 8]
lea ecx, [ecx]
test edi, edi
jne 0x5fd702
mov eax, dword [esp + 0x4c]
push eax
mov ecx, ebp
call fcn.005fb9c0
jmp 0x5fd70e
mov ecx, dword [esp + edi*4 + 0x4c]
push ecx
mov ecx, ebp
call fcn.005f8020
mov ecx, ebp
call fcn.005fba60
mov ecx, ebx
call fcn.005fc4a0
push 0x38
call fcn.0061a5a0
mov esi, eax
add esp, 4
mov dword [esp + 0x28], esi
xor eax, eax
cmp esi, eax
mov dword [esp + 0x98], eax
je 0x5fd774
call fcn.00821b1e
mov edx, dword [0x86fcb0]
and eax, 0xffff
mov dword [esp + 0x30], eax
fild dword [esp + 0x30]
push edx
push 1
fmul dword [0x858b14]
push 0x1388
fmul dword [0x859000]
call fcn.00821b40
mov ecx, esi
push eax
push 4
call fcn.0066f5c0
mov esi, dword [esp + edi*4 + 0x4c]
mov ecx, dword [esi + 0x47c]
push 0
push 4
push eax
add ecx, 4
mov dword [esp + 0xa4], 0xffffffff
call fcn.00681af0
push 0x28
call fcn.0061a5a0
add esp, 4
mov dword [esp + 0x30], eax
test eax, eax
mov dword [esp + 0x98], 1
je 0x5fd7c3
mov ecx, dword [esp + 0x2c]
push 0
push ecx
mov ecx, eax
call fcn.00632e50
jmp 0x5fd7c5
xor eax, eax
mov ecx, dword [esi + 0x47c]
push 0
push 3
push eax
add ecx, 4
mov dword [esp + 0xa4], 0xffffffff
call fcn.00681af0
mov eax, dword [esp + 0x20]
inc edi
cmp edi, eax
jl 0x5fd6f0
mov al, 1
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x84]
pop edi
mov dword fs:[0], ecx
add esp, 0x8c
ret 0x10
mov eax, dword [esp + 0x10]
cmp eax, 5
ja case.0x5fd819.4
jmp dword [eax*4 + 0x5fd848]
mov dword [esp + 0x10], eax
jmp 0x5fc9b0
mov dword [esp + 0x10], eax
jmp 0x5fce80
mov dword [esp + 0x10], 5
jmp 0x5fd330
mov al, byte [esp + 0xc]
ret 0x10