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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x65a788
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
lea ecx, [esp + 0x68]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x10], edi
call fcn.0064414c
mov dword [esp + 0x90], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], 0x661a18
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov byte [esp + 0x90], 1
lea eax, [ecx + ecx*8]
shl eax, 4
sub eax, ecx
test edi, edi
lea eax, [eax + eax*2]
lea ebx, [ecx + eax*4]
mov dword [esp + 0x14], ebx
lea ebx, [ebx + esi + 0x4e6]
mov dword [esp + 0x34], ebx
jne 0x5bcfdc
xor eax, eax
jmp 0x5bcfdf
mov eax, dword [edi + 4]
push eax
call dword [fcn.0065e0d0]
push eax
lea ecx, [esp + 0x6c]
call fcn.00644146
lea ecx, [esp + 0x78]
push ebx
push ecx
call dword [fcn.0065f51c]
mov edx, dword [ebx]
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0xc]
sub eax, edx
mov dword [ebx + 8], eax
mov eax, dword [ebx + 4]
sub ecx, eax
mov dword [ebx], 0
mov dword [ebx + 0xc], ecx
mov eax, ecx
mov ecx, dword [ebx + 8]
push eax
mov dword [ebx + 4], 0
push ecx
mov ecx, dword [edi + 4]
push ecx
call dword [fcn.0065e0c8]
push eax
lea ecx, [esp + 0x44]
call fcn.006440f8
mov edx, dword [esp + 0x44]
lea eax, [esp + 0x40]
neg eax
sbb eax, eax
and eax, edx
mov edx, dword [esp + 0x6c]
push eax
push edx
call fcn.00644140
mov dword [esp + 0x3c], eax
mov eax, dword [0x73a950]
push eax
push ebx
lea ecx, [esp + 0x70]
call fcn.00643ed0
mov eax, dword [0x6a8268]
test eax, eax
je 0x5bd0da
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xc], 0
mov al, byte [ecx + esi + 0x6d5]
test al, al
jbe 0x5bd0da
mov edx, ecx
lea edi, [edx + esi + 0x6d7]
mov ecx, dword [0x73a954]
mov edx, dword [esp + 0x14]
xor eax, eax
push 4
mov ax, word [edi]
push ecx
mov ecx, dword [edx + esi + 0x4ee]
mov edx, dword [ebx]
push eax
push ecx
push eax
lea eax, [esp + 0x7c]
push edx
push eax
mov ecx, 0x732bc0
call fcn.00495e50
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
xor ecx, ecx
inc eax
mov cl, byte [edx + esi + 0x6d5]
add edi, 2
cmp eax, ecx
mov dword [esp + 0xc], eax
jl 0x5bd08f
mov eax, dword [0x82690c]
test eax, eax
jne 0x5bd0f1
mov al, byte [esi + 0x4b5]
cmp al, 7
je 0x5bd0f1
test al, al
jne 0x5bd136
mov eax, dword [esi + 0x73a9]
xor edi, edi
test eax, eax
jle 0x5bd136
mov eax, dword [esi + 0x73ad]
mov edx, dword [esi + 0x42]
mov ecx, dword [0x73a954]
push 4
mov eax, dword [eax + edi*4]
sub edx, 0x10
push ecx
mov ecx, dword [esi + 0x3a]
push edx
push eax
push ecx
lea edx, [esp + 0x7c]
push eax
push edx
mov ecx, 0x732bc0
call fcn.00495e50
mov eax, dword [esi + 0x73a9]
inc edi
cmp edi, eax
jl 0x5bd0fd
mov edi, dword [esp + 0x14]
push 0x6b9eb8
mov eax, dword [edi + esi + 0x545]
add eax, 7
push eax
call dword [fcn.0065f1a4]
add esp, 8
test eax, eax
jne 0x5bd1b3
mov eax, 1
cmp word [edi + esi + 0x4f6], ax
mov dword [esp + 0xc], eax
jbe 0x5bd1b3
mov ecx, edi
lea edi, [ecx + esi + 0x549]
mov edx, dword [edi]
push 0x6b9eb8
add edx, 7
push edx
call dword [fcn.0065f1a4]
add esp, 8
test eax, eax
je 0x5bd1ab
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
xor ecx, ecx
inc eax
mov cx, word [edx + esi + 0x4f6]
add edi, 4
cmp eax, ecx
mov dword [esp + 0xc], eax
jl 0x5bd173
jmp 0x5bd1b3
mov dword [esp + 0x2c], 1
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x5bd1cf
mov eax, dword [0x6e7be8]
test eax, eax
je 0x5bd1cf
lea eax, [esp + 0x68]
mov ecx, esi
push eax
call fcn.005bdc10
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xc], 0
cmp word [ecx + esi + 0x4f6], 0
jbe 0x5bdb32
mov edi, dword [ebp + 0xc]
mov edx, dword [esp + 0xc]
jmp 0x5bd1fa
mov edx, dword [esp + 0xc]
mov edi, dword [ebp + 0xc]
mov eax, dword [esp + 0x14]
lea ecx, [eax + edx*4]
mov ecx, dword [ecx + esi + 0x545]
mov dword [esp + 0x1c], ecx
mov al, byte [ecx + 2]
cmp al, 0x23
jne 0x5bd23d
mov al, byte [esi + 0x73ed]
mov cl, al
add al, 0x1d
add cl, 0x12
push ecx
push eax
mov eax, dword [0x826908]
push 0xffffffffffffffff
push eax
push edx
lea ecx, [esp + 0x7c]
push edi
push ecx
mov ecx, esi
call fcn.005a57e0
jmp 0x5bdb0f
test al, al
jne 0x5bd96a
mov edx, dword [ecx + 3]
mov ecx, dword [0x8267e8]
push edx
push 0
call dword [sym.imp.TCalc.dll_public:_struct_tag_INDEXINFO____thiscall_CalcInterface::GetIndexInfo_unsigned_char__long_int_const]
mov edi, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x30], edi
mov ax, word [eax + esi + 0x4f6]
cmp ax, 1
jb 0x5bd2e0
test byte [edi + 0x44], 4
je 0x5bd28c
mov al, byte [esi + 0x73ed]
mov edx, dword [ebp + 0xc]
mov cl, al
add cl, 0x12
add al, 0x1d
push ecx
push eax
push edx
push 0
jmp 0x5bd2d0
cmp ax, 1
jb 0x5bd2e0
test byte [edi + 0x44], 8
je 0x5bd2af
mov al, byte [esi + 0x73ed]
mov edx, dword [ebp + 0xc]
mov cl, al
add cl, 0x12
add al, 0x1d
push ecx
push eax
push edx
push 1
jmp 0x5bd2d0
cmp ax, 1
jb 0x5bd2e0
test byte [edi + 0x44], 0x10
je 0x5bd2e0
mov al, byte [esi + 0x73ed]
mov edx, dword [ebp + 0xc]
mov cl, al
add cl, 0x12
add al, 0x1d
push ecx
push eax
push edx
push 3
push 0
lea eax, [esp + 0x7c]
push 0
push eax
mov ecx, esi
call fcn.005a57e0
mov eax, dword [edi + 0xb14]
test al, 0x80
je 0x5bd362
lea ecx, [esp + 0x68]
push 1
push ecx
mov ecx, 0x732bc0
call fcn.00495d00
mov edx, dword [0x73a974]
mov ecx, dword [esp + 0x14]
add edi, 3
mov dword [esp + 0x30], eax
mov eax, dword [ecx + esi + 0x4f2]
push edi
push 0x6c01c0
push 0
push edx
mov edx, dword [ecx + esi + 0x4ea]
add eax, edx
cdq
sub eax, edx
sar eax, 1
push eax
mov eax, dword [ecx + esi + 0x4ee]
mov ecx, dword [ebx]
add eax, ecx
lea ecx, [esp + 0x5c]
cdq
sub eax, edx
sar eax, 1
sub eax, 0x12
push eax
lea eax, [esp + 0x80]
push eax
push ecx
push 0x732bc0
call fcn.00496440
mov edx, dword [esp + 0x54]
add esp, 0x24
jmp 0x5bd456
test al, 0x40
je 0x5bd3db
lea ecx, [esp + 0x68]
push 1
push ecx
mov ecx, 0x732bc0
call fcn.00495d00
mov edx, dword [0x73a974]
mov ecx, dword [esp + 0x14]
add edi, 3
mov dword [esp + 0x30], eax
mov eax, dword [ecx + esi + 0x4f2]
push edi
push 0x6c01ac
push 0
push edx
mov edx, dword [ecx + esi + 0x4ea]
add eax, edx
cdq
sub eax, edx
sar eax, 1
push eax
mov eax, dword [ecx + esi + 0x4ee]
mov ecx, dword [ebx]
add eax, ecx
lea ecx, [esp + 0x64]
cdq
sub eax, edx
sar eax, 1
sub eax, 0x12
push eax
lea eax, [esp + 0x80]
push eax
push ecx
push 0x732bc0
call fcn.00496440
mov edx, dword [esp + 0x54]
add esp, 0x24
jmp 0x5bd456
test al, 0x20
je 0x5bd46b
lea ecx, [esp + 0x68]
push 1
push ecx
mov ecx, 0x732bc0
call fcn.00495d00
mov edx, dword [0x73a974]
mov ecx, dword [esp + 0x14]
add edi, 3
mov dword [esp + 0x30], eax
mov eax, dword [ecx + esi + 0x4f2]
push edi
push 0x6c0198
push 0
push edx
mov edx, dword [ecx + esi + 0x4ea]
add eax, edx
cdq
sub eax, edx
sar eax, 1
push eax
mov eax, dword [ecx + esi + 0x4ee]
mov ecx, dword [ebx]
add eax, ecx
lea ecx, [esp + 0x6c]
cdq
sub eax, edx
sar eax, 1
sub eax, 0x12
push eax
lea eax, [esp + 0x80]
push eax
push ecx
push 0x732bc0
call fcn.00496440
mov edx, dword [esp + 0x54]
add esp, 0x24
lea eax, [esp + 0x68]
push edx
push eax
mov ecx, 0x732bc0
call fcn.00495d20
jmp 0x5bdb0f
test ah, 1
je 0x5bd4ce
lea ecx, [esp + 0x68]
push 1
push ecx
mov ecx, 0x732bc0
call fcn.00495d00
mov edx, dword [esp + 0x14]
mov ecx, dword [ebx]
mov dword [esp + 0x28], eax
push 0x6a0538
mov eax, dword [edx + esi + 0x4f2]
push 0
sub eax, 0xf
push 0x606060
push eax
lea edx, [esp + 0x78]
push ecx
lea eax, [esp + 0x74]
push edx
push eax
push 0x732bc0
call fcn.00496440
mov ecx, dword [esp + 0x48]
add esp, 0x20
lea edx, [esp + 0x68]
push ecx
push edx
mov ecx, 0x732bc0
call fcn.00495d20
mov eax, dword [edi + 0x44]
test al, 0x20
je 0x5bd4ef
mov eax, dword [esp + 0xc]
mov ecx, dword [ebp + 0xc]
push eax
lea edx, [esp + 0x6c]
push ecx
push edx
mov ecx, esi
call fcn.005a8610
jmp 0x5bdb0f
test al, 0x40
je 0x5bd50d
mov eax, dword [esp + 0xc]
mov ecx, dword [ebp + 0xc]
push eax
lea edx, [esp + 0x6c]
push ecx
push edx
mov ecx, esi
call fcn.005a83a0
jmp 0x5bdb0f
mov eax, dword [esp + 0x1c]
xor ebx, ebx
mov cl, byte [eax + 0x19]
test cl, cl
jbe 0x5bd8c4
mov ecx, eax
add edi, 0x55a
add ecx, 0x1a
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], ecx
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
mov edi, dword [eax + 4]
mov eax, dword [eax + 8]
cmp edi, 0xffffff
mov dword [esp + 0x18], eax
ja 0x5bd554
test eax, eax
jle 0x5bd554
mov edx, 1
jmp 0x5bd556
xor edx, edx
mov eax, dword [esp + 0x24]
mov dword [esp + 0x20], edx
mov eax, dword [eax]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x5bd792
test ecx, ecx
jne 0x5bd73d
mov eax, dword [esp + 0x14]
fld qword [eax + esi + 0x518]
fabs
fld qword [eax + esi + 0x510]
fabs
faddp st(1)
fmul qword [0x65f9a0]
fcomp qword [0x665ef8]
fnstsw ax
test ah, 0x41
jne 0x5bd73d
cmp dword [esi + 0x32], 0x65
jne 0x5bd5cb
mov ecx, dword [esp + 0x30]
push 0x6b9eb8
add ecx, 3
push ecx
call dword [fcn.0065f1a4]
add esp, 8
test eax, eax
je 0x5bd898
movsx eax, word [esi + 0x4d4]
lea edx, [eax + eax*2]
mov eax, dword [esp + 0x38]
fld dword [eax + edx*8]
fsub dword [0x663770]
lea ecx, [eax + edx*8]
fabs
fcomp qword [0x665ef8]
fnstsw ax
test ah, 1
je 0x5bd614
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0xc]
mov eax, dword [ebp + 0xc]
push ecx
push ebx
push edx
lea ecx, [esp + 0x74]
push eax
push ecx
mov ecx, esi
call fcn.005a51e0
jmp 0x5bd898
fld dword [ecx]
fsub dword [0x676b28]
fabs
fcomp qword [0x665ef8]
fnstsw ax
test ah, 1
je 0x5bd65f
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x5bd63e
mov edx, dword [esp + 0x10]
mov edi, dword [edx*4 + 0x73a980]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
mov edx, dword [ebp + 0xc]
push eax
push edi
push ebx
push ecx
lea eax, [esp + 0x78]
push edx
push eax
mov ecx, esi
call fcn.005a3c80
jmp 0x5bd898
fld dword [ecx]
fsub dword [0x66fb7c]
fabs
fcomp qword [0x665ef8]
fnstsw ax
test ah, 1
je 0x5bd691
mov ecx, dword [esp + 0xc]
mov edx, dword [ebp + 0xc]
push ebx
push ecx
lea eax, [esp + 0x70]
push edx
push eax
mov ecx, esi
call fcn.005a4010
jmp 0x5bd898
fld dword [ecx]
fsub dword [0x66a4c0]
fabs
fcomp qword [0x665ef8]
fnstsw ax
test ah, 1
je 0x5bd6d2
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x5bd6b6
mov edi, dword [0x73a964]
mov ecx, dword [esp + 0xc]
mov edx, dword [ebp + 0xc]
push edi
push ebx
push ecx
lea eax, [esp + 0x74]
push edx
push eax
mov ecx, esi
call fcn.005a4170
jmp 0x5bd898
fld dword [ecx]
fsub dword [0x6703f8]
fabs
fcomp qword [0x665ef8]
fnstsw ax
test ah, 1
je 0x5bd704
mov ecx, dword [esp + 0xc]
mov edx, dword [ebp + 0xc]
push ebx
push ecx
lea eax, [esp + 0x70]
push edx
push eax
mov ecx, esi
call fcn.005a4420
jmp 0x5bd898
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x5bd717
mov ecx, dword [esp + 0x10]
mov edi, dword [ecx*4 + 0x73a980]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
mov ecx, dword [ebp + 0xc]
push edx
push edi
push ebx
push eax
lea edx, [esp + 0x78]
push ecx
push edx
mov ecx, esi
call fcn.005a33c0
mov eax, dword [esp + 0x10]
inc eax
jmp 0x5bd88c
cmp ecx, 4
jne 0x5bd772
test edx, edx
jne 0x5bd751
mov edx, dword [esp + 0x10]
mov edi, dword [edx*4 + 0x73a980]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
mov edx, dword [ebp + 0xc]
push eax
push edi
push ebx
push ecx
lea eax, [esp + 0x78]
push edx
push eax
mov ecx, esi
call fcn.005a3680
jmp 0x5bd885
cmp ecx, 2
jne 0x5bd792
mov edx, dword [esp + 0xc]
mov eax, dword [ebp + 0xc]
push ebx
push edx
lea ecx, [esp + 0x70]
push eax
push ecx
mov ecx, esi
call fcn.005a3100
jmp 0x5bd898
cmp ecx, 1
jne 0x5bd7b2
mov edx, dword [esp + 0xc]
mov eax, dword [ebp + 0xc]
push ebx
push edx
lea ecx, [esp + 0x70]
push eax
push ecx
mov ecx, esi
call fcn.005a2d90
jmp 0x5bd898
cmp ecx, 5
jne 0x5bd7e7
test edx, edx
jne 0x5bd7c6
mov edx, dword [esp + 0x10]
mov edi, dword [edx*4 + 0x73a980]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
mov edx, dword [ebp + 0xc]
push eax
push edi
push ebx
push ecx
lea eax, [esp + 0x78]
push edx
push eax
mov ecx, esi
call fcn.005a3870
jmp 0x5bd885
cmp ecx, 6
jne 0x5bd819
test edx, edx
jne 0x5bd7fb
mov edx, dword [esp + 0x10]
mov edi, dword [edx*4 + 0x73a980]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
mov edx, dword [ebp + 0xc]
push eax
push edi
push ebx
push ecx
lea eax, [esp + 0x78]
push edx
push eax
mov ecx, esi
call fcn.005a4a50
jmp 0x5bd885
cmp ecx, 7
jne 0x5bd84b
test edx, edx
jne 0x5bd82d
mov edx, dword [esp + 0x10]
mov edi, dword [edx*4 + 0x73a980]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
mov edx, dword [ebp + 0xc]
push eax
push edi
push ebx
push ecx
lea eax, [esp + 0x78]
push edx
push eax
mov ecx, esi
call fcn.005a4cc0
jmp 0x5bd885
cmp ecx, 8
jne 0x5bd87d
test edx, edx
jne 0x5bd85f
mov edx, dword [esp + 0x10]
mov edi, dword [edx*4 + 0x73a980]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
mov edx, dword [ebp + 0xc]
push eax
push edi
push ebx
push ecx
lea eax, [esp + 0x78]
push edx
push eax
mov ecx, esi
call fcn.005a4f50
jmp 0x5bd898
cmp ecx, 0xff
jne 0x5bd898
mov ecx, dword [esp + 0x10]
lea eax, [ecx + 1]
cdq
mov ecx, 6
idiv ecx
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
add edx, 4
mov dword [esp + 0x24], edx
xor edx, edx
mov dl, byte [eax + 0x19]
inc ebx
add ecx, 0x1c
cmp ebx, edx
mov dword [esp + 0x28], ecx
jl 0x5bd531
mov edi, dword [esp + 0x30]
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 0xf2]
test ah, 1
je 0x5bdb0f
mov al, byte [edi + 0xac3]
mov dword [esp + 0x30], 0
test al, al
jbe 0x5bdb0f
mov eax, dword [esp + 0x14]
lea ebx, [edi + 0xac4]
lea edx, [eax + esi + 0x4de]
lea eax, [eax + esi + 0x4d6]
mov dword [esp + 0x38], edx
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0xc]
mov edx, dword [ebp + 0xc]
fld dword [ebx]
push ecx
mov ecx, esi
sub esp, 8
fstp qword [esp]
push edx
call fcn.005b6eb0
mov ecx, dword [0x73a974]
mov edx, dword [esp + 0x38]
push 2
push ecx
mov ecx, dword [edx]
mov edx, dword [esp + 0x30]
push eax
push ecx
push eax
mov eax, dword [edx]
lea ecx, [esp + 0x7c]
push eax
push ecx
mov ecx, 0x732bc0
call fcn.00495e50
mov eax, dword [esp + 0x30]
xor edx, edx
mov dl, byte [edi + 0xac3]
inc eax
add ebx, 4
cmp eax, edx
mov dword [esp + 0x30], eax
jl 0x5bd90d
jmp 0x5bdb0f
cmp al, 6
jne 0x5bd981
push edx
lea eax, [esp + 0x6c]
push edi
push eax
mov ecx, esi
call fcn.005a8980
jmp 0x5bdb0f
mov ecx, dword [esi + 0x2dc]
test ecx, ecx
jne 0x5bdb0f
cmp al, 2
jne 0x5bdb0f
mov al, byte [esi + 0x726a]
mov ecx, dword [0x739a74]
test al, al
mov dword [esp + 0x18], ecx
je 0x5bd9c8
cmp byte [esi + 0x726d], 2
jne 0x5bd9c8
mov edx, dword [0x739a68]
mov dword [esi + 0x7266], 1
mov dword [esp + 0x18], edx
mov eax, dword [esi + 0x7375]
xor edi, edi
test eax, eax
jle 0x5bda53
mov eax, dword [esi + 0x737d]
mov edx, dword [esp + 0x1c]
lea ecx, [eax + edi]
mov eax, dword [edx + 0x1a]
mov edx, 0x6a2cfc
mov ebx, dword [eax + ecx*4]
lea eax, [eax + ecx*4]
cmp ebx, dword [edx]
je 0x5bda48
fld dword [eax]
fabs
fcomp qword [0x665668]
fnstsw ax
test ah, 0x41
jne 0x5bda48
mov eax, dword [esi + 0x4b7]
push 0
shl ecx, 5
mov edx, dword [eax + 0x1a]
mov eax, dword [ebp + 0xc]
sub esp, 8
fld dword [edx + ecx + 0xc]
mov ecx, esi
fstp qword [esp]
push eax
call fcn.005b6eb0
mov ecx, dword [esi + 0x739d]
mov edx, dword [esp + 0x18]
add eax, 2
push edx
mov ecx, dword [ecx + edi*4]
push eax
mov eax, dword [esp + 0x74]
sub ecx, 0xf
push ecx
push eax
call dword [fcn.0065f5d0]
mov eax, dword [esi + 0x7375]
inc edi
cmp edi, eax
jl 0x5bd9d4
mov al, byte [esi + 0x726a]
mov ecx, dword [0x739a70]
test al, al
mov dword [esp + 0x18], ecx
je 0x5bda84
cmp byte [esi + 0x726d], 2
jne 0x5bda84
mov edx, dword [0x739a64]
mov dword [esi + 0x7266], 1
mov dword [esp + 0x18], edx
mov eax, dword [esi + 0x7375]
xor edi, edi
test eax, eax
jle 0x5bdb0f
mov eax, dword [esi + 0x737d]
mov edx, dword [esp + 0x1c]
lea ecx, [eax + edi]
mov eax, dword [edx + 0x1e]
mov edx, 0x6a2cfc
mov ebx, dword [eax + ecx*4]
lea eax, [eax + ecx*4]
cmp ebx, dword [edx]
je 0x5bdb04
fld dword [eax]
fabs
fcomp qword [0x665668]
fnstsw ax
test ah, 0x41
jne 0x5bdb04
mov eax, dword [esi + 0x4b7]
push 0
shl ecx, 5
mov edx, dword [eax + 0x1a]
mov eax, dword [ebp + 0xc]
sub esp, 8
fld dword [edx + ecx + 8]
mov ecx, esi
fstp qword [esp]
push eax
call fcn.005b6eb0
mov ecx, dword [esi + 0x739d]
mov edx, dword [esp + 0x18]
sub eax, 0x22
push edx
mov ecx, dword [ecx + edi*4]
push eax
mov eax, dword [esp + 0x74]
sub ecx, 0xf
push ecx
push eax
call dword [fcn.0065f5d0]
mov eax, dword [esi + 0x7375]
inc edi
cmp edi, eax
jl 0x5bda90
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x34]
xor ecx, ecx
mov cx, word [edx + esi + 0x4f6]
inc eax
cmp eax, ecx
mov dword [esp + 0xc], eax
jl 0x5bd1f3
mov eax, dword [esp + 0x78]
mov ecx, dword [ebx + 8]
mov edi, dword [esp + 0x6c]
mov edx, dword [ebx + 0xc]
lea esi, [eax + 1]
lea eax, [esp + 0x68]
dec ecx
push 0xcc0020
neg eax
sbb eax, eax
push 0
and eax, edi
push 0
push eax
push edx
mov edx, dword [ebp + 8]
push ecx
mov ecx, dword [esp + 0x94]
mov eax, dword [edx + 4]
push ecx
push esi
push eax
call dword [fcn.0065e0cc]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x80]
mov dword [ebx], ecx
mov ecx, dword [esp + 0x84]
mov dword [ebx + 4], edx
mov dword [ebx + 8], eax
mov eax, dword [esp + 0x3c]
test eax, eax
mov dword [ebx + 0xc], ecx
je 0x5bdb9c
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x6c]
push eax
push edx
call fcn.00644140
lea ecx, [esp + 0x40]
call fcn.0064406e
lea ecx, [esp + 0x68]
call fcn.00644134
mov dword [esp + 0x40], 0x661578
lea ecx, [esp + 0x40]
mov byte [esp + 0x90], 2
call fcn.0064406e
lea ecx, [esp + 0x68]
mov dword [esp + 0x40], 0x6602dc
mov dword [esp + 0x90], 0xffffffff
call fcn.0064411c
mov ecx, dword [esp + 0x88]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8