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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x13c
mov edx, dword [ebp + 0x10]
push ebx
push esi
push edi
lea eax, [edx + edx*8]
lea esi, [ecx + edx]
shl eax, 4
sub eax, edx
mov dword [esp + 0x10], ecx
mov ebx, 1
lea eax, [eax + eax*2]
lea edi, [esi + eax*4 + 0x4d6]
xor esi, esi
mov dword [esp + 0x34], edi
mov eax, dword [edi + 0x6f]
cmp byte [eax + 2], 0
jne 0x5b954d
test byte [eax + 0xf3], 2
je 0x5b954d
mov ecx, dword [eax + 3]
push ecx
mov ecx, dword [0x8267e8]
push esi
call dword [sym.imp.TCalc.dll_public:_struct_tag_INDEXINFO____thiscall_CalcInterface::GetIndexInfo_unsigned_char__long_int_const]
fld qword [0x662e00]
lea esi, [eax + 0xad4]
xor ecx, ecx
fst qword [esp + 0x28]
mov edx, esi
fld dword [edx]
fabs
fcom qword [0x676b18]
fnstsw ax
test ah, 1
je 0x5b937f
fcom qword [0x672488]
fnstsw ax
test ah, 1
jne 0x5b934e
fld st(1)
fcomp qword [0x672488]
fnstsw ax
test ah, 0x41
je 0x5b934e
fstp st(0)
fstp st(0)
fld qword [0x672488]
jmp 0x5b9370
fcomp qword [0x6767a0]
fnstsw ax
test ah, 1
jne 0x5b9370
fcom qword [0x6767a0]
fnstsw ax
test ah, 0x41
je 0x5b9370
fstp st(0)
fld qword [0x6767a0]
inc ecx
add edx, 4
cmp ecx, 7
jl 0x5b9315
fstp qword [esp + 0x28]
jmp 0x5b9395
fstp st(0)
fstp qword [esp + 0x28]
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0x416312d0
mov dword [esp + 0x30], esi
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x24], 7
mov edx, dword [esp + 0x30]
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x10]
push 0
fld dword [edx]
sub esp, 8
fstp qword [esp]
push eax
call fcn.005b6eb0
mov ecx, dword [esp + 0x10]
mov ebx, eax
mov eax, dword [edi + 0xc]
mov ecx, dword [ecx + 0x73b1]
lea edx, [ecx + ebx]
cmp edx, eax
jge 0x5b9447
mov eax, ebx
sub eax, ecx
mov ecx, dword [edi + 4]
cmp eax, ecx
jle 0x5b9447
mov ecx, dword [esp + 0x30]
mov edx, dword [0x6bff08]
sub esp, 8
add edx, 0xfffffffe
fld dword [ecx]
fdiv qword [esp + 0x30]
mov ecx, dword [0x73a958]
fstp qword [esp]
push 0x6b5d04
push edx
push ecx
push eax
push 0
lea edx, [esp + 0x74]
push esi
push edx
push 0x732bc0
call fcn.00496440
mov eax, dword [0x6a8268]
add esp, 0x28
test eax, eax
je 0x5b9447
sub bx, word [edi + 0x14]
xor eax, eax
mov al, byte [edi + 0x1ff]
mov word [edi + eax*2 + 0x201], bx
mov al, byte [edi + 0x1ff]
inc al
mov byte [edi + 0x1ff], al
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x24]
add ecx, 4
dec eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x24], eax
jne 0x5b93a4
fld qword [esp + 0x28]
fcomp qword [0x662e00]
fnstsw ax
test ah, 0x41
jne 0x5ba582
fld qword [esp + 0x28]
fcomp qword [0x672488]
fnstsw ax
test ah, 1
jne 0x5b9496
lea ecx, [esp + 0xd4]
push 0x6c0150
push ecx
jmp 0x5b94c3
fld qword [esp + 0x28]
fcomp qword [0x665ee8]
fnstsw ax
test ah, 1
jne 0x5b94b6
lea edx, [esp + 0xd4]
push 0x6c0148
push edx
jmp 0x5b94c3
lea eax, [esp + 0xd4]
push 0x6c0140
push eax
call dword [fcn.0065f1cc]
add esp, 8
lea ecx, [esp + 0xd4]
push ecx
lea ecx, [esp + 0x28]
call fcn.00643d2c
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x58]
push edx
mov edx, dword [esi + 8]
mov ecx, dword [eax - 8]
push ecx
push eax
push edx
call dword [fcn.0065e0bc]
lea ecx, [esp + 0x24]
call fcn.00643d26
mov ebx, dword [esp + 0x34]
mov ecx, dword [esp + 0x58]
push 6
mov eax, dword [ebx + 0x1c]
lea edi, [ecx + 4]
mov ecx, 0x732bc0
lea edx, [eax - 2]
add eax, 0xffffffef
push edx
push edi
push eax
push 1
push esi
call fcn.004961f0
mov edx, dword [ebx + 0x1c]
mov ecx, dword [0x73a958]
lea eax, [esp + 0xd4]
sub edx, 0x11
push eax
push 0x69a8e4
push 0
push ecx
push edx
push 3
push esi
lea eax, [esp + 0x74]
jmp 0x5ba55b
mov al, byte [edi + 0x52]
test al, al
je 0x5ba6cf
cmp edx, esi
jne 0x5b9e81
mov edx, dword [ecx + 0x76a3]
cmp edx, esi
je 0x5b9e81
cmp edx, 4
je 0x5b95a6
cmp edx, ebx
je 0x5b95a6
cmp edx, 2
je 0x5b959d
cmp edx, 5
je 0x5b959d
mov eax, dword [ecx + 0x737d]
mov ecx, dword [ecx + 0x4b7]
shl eax, 5
mov ecx, dword [ecx + 0x1a]
fld dword [eax + ecx + 4]
fstp dword [esp + 0x14]
jmp 0x5b95cf
fld qword [edi + 0x2a]
fstp dword [esp + 0x14]
jmp 0x5b95cf
mov eax, dword [ecx + 0x7381]
mov ecx, dword [ecx + 0x4b7]
lea esi, [eax - 1]
xor eax, eax
test esi, esi
mov ecx, dword [ecx + 0x1a]
setle al
dec eax
and eax, esi
shl eax, 5
xor esi, esi
fld dword [ecx + eax + 0x10]
fstp dword [esp + 0x14]
fld dword [0x65f998]
fcomp dword [esp + 0x14]
fnstsw ax
test ah, 0x41
jne 0x5b95e8
mov dword [esp + 0x14], 0x38d1b717
cmp edx, ebx
jne 0x5b960c
mov eax, dword [0x6e7bcc]
mov dword [esp + 0x24], ebx
cmp eax, ebx
jl 0x5b95fd
mov dword [esp + 0x24], eax
fild dword [esp + 0x24]
fmul qword [0x65f9b0]
jmp 0x5b9696
cmp edx, 2
jne 0x5b9634
mov eax, dword [0x6e7bd0]
mov dword [esp + 0x24], ebx
cmp eax, ebx
jl 0x5b9622
mov dword [esp + 0x24], eax
fld qword [edi + 0x22]
fsub qword [edi + 0x2a]
fild dword [esp + 0x24]
fmul dword [esp + 0x14]
fdivp st(1)
jmp 0x5b9696
cmp edx, 4
jne 0x5b9641
fld dword [0x6680f0]
jmp 0x5b9696
cmp edx, 5
jne 0x5b964e
fld dword [0x6680f0]
jmp 0x5b9696
fld dword [0x65f994]
fst dword [esp + 0x38]
fld qword [edi + 0x22]
fsub qword [edi + 0x2a]
fstp qword [esp + 0x60]
fld dword [esp + 0x14]
fmul dword [0x65f994]
fdivr qword [esp + 0x60]
fcomp qword [0x676b38]
fnstsw ax
test ah, 0x41
jne 0x5b969a
fadd st(0), st(0)
fld dword [esp + 0x14]
fmul st(1)
fdivr qword [esp + 0x60]
fcomp qword [0x676b38]
fnstsw ax
test ah, 0x41
je 0x5b967d
fst dword [esp + 0x38]
fld dword [esp + 0x14]
fmul st(1)
mov esi, dword [ebp + 0xc]
xor ecx, ecx
mov dword [esp + 0x48], ecx
fstp qword [esp + 0x58]
fstp st(0)
cmp edx, 2
je 0x5b96b9
cmp edx, 5
jne 0x5b96c9
test ecx, ecx
jne 0x5b9e4c
mov edi, dword [esp + 0x34]
xor eax, eax
jmp 0x5b96cb
xor eax, eax
fld dword [esp + 0x14]
cmp edx, 4
mov dword [esp + 0x4c], eax
fst qword [esp + 0x18]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x40], eax
jne 0x5b96f0
mov dword [esp + 0x6c], 8
fstp qword [esp + 0x60]
mov dword [esp + 0x24], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x68], 0x6bff0c
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
push 0
push edx
push eax
push 0
call fcn.005b6eb0
mov ecx, dword [esp + 0x6c]
mov ebx, eax
mov dword [esp + 0x44], ebx
lea eax, [ecx + ebx + 8]
mov ecx, dword [edi + 0xc]
cmp ecx, eax
jle 0x5b9a98
mov ecx, dword [esp + 0x6c]
mov eax, dword [edi + 4]
mov edx, ebx
sub edx, ecx
sub edx, 0x14
cmp eax, edx
jge 0x5b9a98
fild dword [esp + 0x7c]
fcomp dword [0x65f998]
fnstsw ax
test ah, 1
jne 0x5b9784
mov eax, dword [esp + 0x7c]
lea ecx, [ecx + ecx + 0xa]
sub eax, ebx
mov dword [esp + 0x30], eax
fild dword [esp + 0x30]
mov dword [esp + 0x30], ecx
fabs
fild dword [esp + 0x30]
fcompp
fnstsw ax
test ah, 1
je 0x5b9a98
fld dword [esp + 0x14]
fsubr qword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov edi, ebx
mov dword [esp + 0x7c], ebx
fmul qword [0x663768]
mov ecx, dword [edx + 0x73b1]
mov eax, dword [edx + 0x76a3]
sub edi, ecx
cmp eax, 3
mov dword [esp + 0x30], edi
fstp qword [esp + 0x70]
fld dword [esp + 0x14]
fdivr qword [esp + 0x70]
fstp qword [esp + 0x28]
je 0x5b9902
fld qword [esp + 0x18]
call fcn.00645030
cdq
xor eax, edx
sub eax, edx
mov dword [esp + 0x50], eax
fild dword [esp + 0x50]
fst qword [esp + 0x50]
fcomp qword [0x6767a0]
fnstsw ax
test ah, 1
jne 0x5b981f
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov ecx, dword [0x6bff08]
push edx
mov edx, dword [0x73a958]
push eax
add ecx, 0xfffffffe
push 0x6c0138
push ecx
push edx
push edi
push 0
lea eax, [esp + 0xe0]
push esi
push eax
jmp 0x5b98db
fld qword [esp + 0x50]
fcomp qword [0x663768]
fnstsw ax
test ah, 1
jne 0x5b985c
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov eax, dword [0x6bff08]
push ecx
mov ecx, dword [0x73a958]
push edx
add eax, 0xfffffffe
push 0x6bb95c
push eax
push ecx
push edi
push 0
push esi
lea edx, [esp + 0xdc]
jmp 0x5b98da
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x4e]
cmp ecx, 3
jne 0x5b98af
fld qword [esp + 0x50]
fcomp qword [0x665d58]
fnstsw ax
test ah, 1
jne 0x5b98a5
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov eax, dword [0x6bff08]
push ecx
mov ecx, dword [0x73a958]
push edx
add eax, 0xfffffffe
push 0x6b5d04
push eax
push ecx
push edi
push 0
push esi
lea edx, [esp + 0xc4]
jmp 0x5b98da
cmp ecx, 3
mov eax, 0x6c0130
je 0x5b98b4
mov eax, 0x6b5d04
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push ecx
mov ecx, dword [0x73a958]
push edx
push eax
mov eax, dword [0x6bff08]
lea edx, [esp + 0xa0]
add eax, 0xfffffffe
push eax
push ecx
push edi
push 0
push esi
push edx
push 0x732bc0
call fcn.00496440
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x58]
add esp, 0x28
mov ecx, dword [eax + 0x73b1]
lea eax, [edx + ecx*2 - 3]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x30], eax
mov ecx, dword [edx + 0x76a3]
cmp ecx, 3
je 0x5b994b
cmp ecx, 5
jne 0x5b992b
mov eax, dword [esp + 0x68]
cmp eax, 0x6bff0c
je 0x5b992b
cmp eax, 0x6bff1c
je 0x5b992b
cmp eax, 0x6bff28
jne 0x5b994b
cmp ecx, 4
jne 0x5b9a61
fld qword [esp + 0x28]
fabs
fcomp qword [0x665ef8]
fnstsw ax
test ah, 0x41
jne 0x5b9a61
cmp ecx, 4
jne 0x5b996c
mov eax, dword [esp + 0x48]
test eax, eax
jne 0x5b995e
fild dword [esp + 0x3c]
jmp 0x5b9962
fild dword [esp + 0x24]
fmul qword [0x665668]
fstp qword [esp + 0x28]
cmp ecx, 5
jne 0x5b99bd
mov eax, dword [esp + 0x34]
mov ecx, dword [0x6bff08]
mov edx, dword [0x73a958]
sub esp, 8
fld qword [eax + 0x22]
fsub qword [eax + 0x2a]
mov eax, dword [esp + 0x38]
add ecx, 0xfffffffe
fdivr qword [esp + 0x78]
fstp qword [esp]
push 0x6c0128
push ecx
push edx
push eax
push 0
lea ecx, [esp + 0xd0]
push esi
push ecx
push 0x732bc0
call fcn.00496440
add esp, 0x28
jmp 0x5b9a61
mov eax, dword [edx + 0x76af]
test eax, eax
je 0x5b9a06
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov ecx, dword [0x6bff08]
push edx
mov edx, dword [0x73a958]
push eax
mov eax, dword [esp + 0x38]
add ecx, 0xfffffffe
push 0x6c0128
push ecx
push edx
push eax
push 0
lea ecx, [esp + 0xe8]
push esi
push ecx
push 0x732bc0
call fcn.00496440
add esp, 0x28
jmp 0x5b9a61
fld qword [esp + 0x28]
fcomp qword [0x662cc0]
fld qword [esp + 0x28]
fnstsw ax
test ah, 1
jne 0x5b9a23
fadd qword [0x65f9a0]
jmp 0x5b9a29
fsub qword [0x65f9a0]
call fcn.00645030
mov edx, dword [0x6bff08]
mov ecx, dword [esp + 0x30]
push eax
mov eax, dword [0x73a958]
add edx, 0xfffffffe
push 0x6c0120
push edx
push eax
push ecx
push 0
lea edx, [esp + 0xb4]
push esi
push edx
push 0x732bc0
call fcn.00496440
add esp, 0x24
fld qword [esp + 0x28]
fabs
fcomp qword [0x665ef8]
fnstsw ax
test ah, 1
je 0x5b9a98
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x76a3]
cmp eax, 2
je 0x5b9a98
cmp eax, 5
je 0x5b9a98
mov eax, dword [esp + 0x34]
mov cl, byte [eax + 0x1ff]
mov byte [eax + 0x200], cl
mov ecx, dword [esp + 0x6c]
mov edi, dword [esp + 0x34]
mov edx, dword [edi + 0xc]
lea eax, [ecx + ebx + 8]
cmp edx, eax
jle 0x5b9cf2
mov eax, dword [edi + 4]
mov edx, ebx
sub edx, ecx
sub edx, 0x14
cmp eax, edx
jge 0x5b9cf2
fild dword [esp + 0x4c]
fcomp dword [0x65f998]
fnstsw ax
test ah, 1
jne 0x5b9af3
mov eax, dword [esp + 0x4c]
sub eax, ebx
mov dword [esp + 0x50], eax
fild dword [esp + 0x50]
fabs
fcomp qword [0x666188]
fnstsw ax
test ah, 0x41
jne 0x5b9cf2
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x4c], ebx
cmp dword [ecx + 0x76a3], 3
jne 0x5b9ca2
test ebx, ebx
jle 0x5b9ca2
mov dword [esp + 0x30], 0
fild dword [esp + 0x30]
fld st(0)
fmul qword [0x676b08]
fadd qword [0x65f9a0]
call fcn.00645030
fadd qword [0x662e00]
mov dword [esp + 0x50], eax
fmul qword [0x65f9a0]
fst qword [esp + 0x70]
call fcn.00645030
mov edi, eax
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x5b9b61
mov eax, dword [esp + 0x30]
cdq
xor eax, edx
sub eax, edx
mov dword [esp + 0x40], eax
jmp 0x5b9b65
mov eax, dword [esp + 0x40]
cmp eax, 0x30
jle 0x5b9c49
fld qword [esp + 0x60]
fadd qword [esp + 0x18]
mov edx, dword [esp + 0x10]
fmul qword [0x65f9a0]
mov eax, dword [edx + 0x76af]
test eax, eax
fsub dword [esp + 0x14]
fmul qword [0x663768]
fdiv dword [esp + 0x14]
fstp qword [esp + 0x28]
je 0x5b9be4
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov edx, dword [0x6bff08]
push eax
mov eax, dword [0x73a958]
push ecx
mov ecx, dword [esp + 0x18]
add edx, 0xfffffffe
push 0x6c0128
push edx
mov edx, dword [ecx + 0x73b1]
push eax
sub edi, edx
lea edx, [esp + 0xc0]
add edi, ebx
push edi
push 0
push esi
push edx
push 0x732bc0
call fcn.00496440
add esp, 0x28
jmp 0x5b9c49
fld qword [esp + 0x28]
fcomp qword [0x662cc0]
fld qword [esp + 0x28]
fnstsw ax
test ah, 1
jne 0x5b9c01
fadd qword [0x65f9a0]
jmp 0x5b9c07
fsub qword [0x65f9a0]
call fcn.00645030
mov edx, dword [esp + 0x10]
push eax
mov eax, dword [0x6bff08]
mov ecx, dword [0x73a958]
add eax, 0xfffffffe
push 0x6c0120
push eax
mov eax, dword [edx + 0x73b1]
sub edi, eax
push ecx
add edi, ebx
lea eax, [esp + 0x94]
push edi
push 0
push esi
push eax
push 0x732bc0
call fcn.00496440
add esp, 0x24
mov ecx, dword [esp + 0x10]
cmp dword [ecx + 0x32], 0x65
je 0x5b9c9e
fild dword [esp + 0x44]
fadd qword [esp + 0x70]
call fcn.00645030
push eax
push 4
push eax
push 1
push esi
mov ecx, 0x732bc0
call fcn.00495d40
mov edi, dword [esp + 0x50]
mov ecx, 0x732bc0
lea eax, [edi + ebx]
push eax
push 2
push eax
push 1
push esi
call fcn.00495d40
mov eax, ebx
mov ecx, 0x732bc0
sub eax, edi
push eax
push 2
push eax
push 1
push esi
call fcn.00495d40
mov edi, dword [esp + 0x34]
mov edx, dword [esp + 0x10]
cmp dword [edx + 0x32], 0x65
je 0x5b9cbd
push ebx
push 6
push ebx
push 1
push esi
mov ecx, 0x732bc0
call fcn.00495d40
mov eax, dword [0x6a8268]
test eax, eax
je 0x5b9cf2
mov edx, dword [edi + 0x14]
mov eax, ebx
sub eax, edx
test eax, eax
jle 0x5b9cf2
xor ecx, ecx
sub bx, dx
mov cl, byte [edi + 0x1ff]
mov word [edi + ecx*2 + 0x201], bx
mov al, byte [edi + 0x1ff]
inc al
mov byte [edi + 0x1ff], al
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x60], edx
mov edx, dword [ecx + 0x76a3]
mov dword [esp + 0x64], eax
cmp edx, 1
je 0x5b9d6d
cmp edx, 4
je 0x5b9d6d
cmp edx, 5
jne 0x5b9d4c
mov eax, dword [esp + 0x68]
cmp eax, 0x6bff28
jge 0x5b9e3a
fld qword [edi + 0x22]
fsub qword [edi + 0x2a]
fmul dword [eax]
mov ecx, dword [esp + 0x48]
fmul qword [0x65f9b0]
fadd dword [esp + 0x14]
fsub qword [0x676b30]
fstp qword [esp + 0x18]
jmp 0x5b9d91
mov ecx, dword [esp + 0x48]
test ecx, ecx
jne 0x5b9d5e
fld qword [esp + 0x18]
fadd qword [esp + 0x58]
jmp 0x5b9d8d
cmp ecx, 1
jne 0x5b9d91
fld qword [esp + 0x18]
fsub qword [esp + 0x58]
jmp 0x5b9d8d
mov ecx, dword [esp + 0x48]
fld dword [esp + 0x38]
test ecx, ecx
jne 0x5b9d85
fadd qword [0x662e00]
fmul qword [esp + 0x18]
jmp 0x5b9d8d
fmul qword [esp + 0x18]
fsubr qword [esp + 0x18]
fstp qword [esp + 0x18]
mov ebx, dword [esp + 0x3c]
mov eax, 0x64
add ebx, eax
mov dword [esp + 0x3c], ebx
mov ebx, dword [esp + 0x24]
fld qword [esp + 0x18]
sub ebx, eax
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x68]
add ebx, 4
cmp edx, 4
mov dword [esp + 0x68], ebx
jne 0x5b9de3
fstp st(0)
fld qword [0x665ef8]
fcomp qword [esp + 0x18]
fnstsw ax
test ah, 0x41
jne 0x5b9dd9
fld qword [0x665ef8]
jmp 0x5b9ddd
fld qword [esp + 0x18]
fldlg2
fxch st(1)
fyl2x
test ecx, ecx
jne 0x5b9e00
fld qword [edi + 0x22]
fsub st(1)
fcomp qword [0x665ef8]
fnstsw ax
test ah, 0x41
fstp st(0)
jne 0x5b9e3e
jmp 0x5b9704
cmp ecx, 1
jne 0x5b9e36
fsub qword [edi + 0x2a]
fcomp qword [0x665ef8]
fnstsw ax
test ah, 0x41
jne 0x5b9e3e
fld dword [esp + 0x14]
fmul qword [0x65f9b0]
fsubr qword [esp + 0x18]
fcomp qword [0x665ef8]
fnstsw ax
test ah, 0x41
je 0x5b9704
jmp 0x5b9e3e
fstp st(0)
jmp 0x5b9e3e
mov ecx, dword [esp + 0x48]
inc ecx
cmp ecx, 2
mov dword [esp + 0x48], ecx
jl 0x5b96af
mov ebx, dword [esp + 0x34]
mov eax, dword [ebx + 0x53]
test eax, eax
je 0x5ba582
cmp eax, 0xf4240
jne 0x5ba48b
lea eax, [esp + 0xd4]
push 0x6c0118
push eax
call dword [fcn.0065f1cc]
add esp, 8
jmp 0x5ba4e0
fld qword [edi + 0x57]
fcomp qword [0x665ef8]
fnstsw ax
test ah, 1
je 0x5b9e99
fld qword [0x665ef8]
jmp 0x5b9e9c
fld qword [edi + 0x57]
mov dword [esp + 0x14], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov esi, dword [ebp + 0xc]
fstp qword [esp + 0x58]
fild dword [esp + 0x40]
mov ecx, dword [ebp + 0x10]
push 0
fst qword [esp + 0x2c]
fmul qword [edi + 0x5f]
fadd qword [edi + 0x57]
fstp qword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x20]
call fcn.005b6eb0
mov ecx, dword [edi + 0xc]
mov ebx, eax
lea eax, [ebx + 8]
cmp ecx, eax
jle 0x5ba112
mov eax, dword [edi + 4]
lea edx, [ebx - 0xe]
cmp eax, edx
jge 0x5ba112
fild dword [esp + 0x24]
fcomp dword [0x65f998]
fnstsw ax
test ah, 1
jne 0x5b9f1c
mov eax, dword [esp + 0x24]
sub eax, ebx
cmp eax, 6
jle 0x5ba112
mov eax, dword [edi + 0x53]
mov dword [esp + 0x24], ebx
test eax, eax
mov dword [esp + 0x38], eax
je 0x5b9fb4
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x73b1]
mov dword [esp + 0x44], eax
lea edx, [eax + ebx + 8]
mov eax, dword [edi + 0x1c]
cmp eax, edx
jle 0x5ba112
fld qword [esp + 0x18]
fcomp qword [0x662cc0]
fild dword [esp + 0x38]
fdivr qword [esp + 0x18]
fnstsw ax
test ah, 1
jne 0x5b9f6d
fadd qword [0x65f9a0]
jmp 0x5b9f73
fsub qword [0x65f9a0]
call fcn.00645030
mov ecx, dword [0x73a958]
push eax
mov eax, dword [0x6bff08]
push 0x6c0110
add eax, 0xfffffffe
mov edx, ebx
push eax
push ecx
mov ecx, dword [esp + 0x54]
lea eax, [esp + 0x94]
sub edx, ecx
push edx
push 0
push esi
push eax
push 0x732bc0
call fcn.00496440
add esp, 0x24
jmp 0x5ba112
fld qword [esp + 0x18]
call fcn.00645030
cdq
xor eax, edx
sub eax, edx
mov dword [esp + 0x44], eax
fild dword [esp + 0x44]
fst qword [esp + 0x60]
fcomp qword [0x6767a0]
fnstsw ax
test ah, 1
jne 0x5ba019
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov eax, dword [0x6bff08]
push ecx
mov ecx, dword [0x73a958]
push edx
add eax, 0xfffffffe
push 0x6c0138
push eax
mov eax, dword [esp + 0x20]
push ecx
mov edx, ebx
mov ecx, dword [eax + 0x73b1]
sub edx, ecx
lea ecx, [esp + 0xc0]
push edx
push 0
push esi
push ecx
jmp 0x5ba105
fld qword [esp + 0x60]
fcomp qword [0x663768]
fnstsw ax
test ah, 1
jne 0x5ba069
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov ecx, dword [0x6bff08]
push edx
mov edx, dword [0x73a958]
push eax
add ecx, 0xfffffffe
push 0x6bb95c
push ecx
mov ecx, dword [esp + 0x20]
push edx
mov eax, ebx
mov edx, dword [ecx + 0x73b1]
sub eax, edx
lea edx, [esp + 0xb0]
push eax
push 0
push esi
push edx
jmp 0x5ba105
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x4e]
cmp ecx, 3
jne 0x5ba0cb
fld qword [esp + 0x60]
fcomp qword [0x665d58]
fnstsw ax
test ah, 1
jne 0x5ba0c1
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov eax, dword [0x6bff08]
push ecx
mov ecx, dword [0x73a958]
push edx
add eax, 0xfffffffe
push 0x6b5d04
push eax
mov eax, dword [esp + 0x20]
push ecx
mov edx, ebx
mov ecx, dword [eax + 0x73b1]
sub edx, ecx
lea ecx, [esp + 0xe0]
push edx
push 0
push esi
push ecx
jmp 0x5ba105
cmp ecx, 3
mov eax, 0x6c0130
je 0x5ba0d0
mov eax, 0x6b5d04
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push edx
mov edx, dword [0x6bff08]
push ecx
add edx, 0xfffffffe
push eax
mov eax, dword [0x73a958]
push edx
mov edx, dword [esp + 0x20]
push eax
mov ecx, ebx
mov eax, dword [edx + 0x73b1]
sub ecx, eax
lea eax, [esp + 0xc8]
push ecx
push 0
push esi
push eax
push 0x732bc0
call fcn.00496440
add esp, 0x28
mov ecx, dword [edi + 0xc]
lea eax, [ebx + 8]
cmp ecx, eax
jle 0x5ba458
mov edx, dword [esp + 0x34]
lea ecx, [ebx - 0xe]
cmp dword [edx + 4], ecx
jge 0x5ba458
mov eax, dword [esp + 0x14]
test eax, eax
jle 0x5ba401
mov ecx, dword [esp + 0x14]
mov eax, ebx
sub eax, ecx
mov dword [esp + 0x4c], eax
fild dword [esp + 0x4c]
fld st(0)
fmul qword [0x676b08]
fadd qword [0x65f9a0]
call fcn.00645030
fadd qword [0x662e00]
mov dword [esp + 0x50], eax
fmul qword [0x65f9a0]
fst qword [esp + 0x70]
call fcn.00645030
mov edi, eax
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x5ba191
mov eax, dword [esp + 0x4c]
cdq
xor eax, edx
sub eax, edx
mov dword [esp + 0x3c], eax
jmp 0x5ba195
mov eax, dword [esp + 0x3c]
cmp eax, 0x30
jle 0x5ba3a8
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx + 0x53]
test eax, eax
mov dword [esp + 0x38], eax
je 0x5ba232
cmp dword [ecx + 0x1c], ebx
jle 0x5ba3a8
fld qword [esp + 0x58]
fadd qword [esp + 0x18]
fcom qword [0x662cc0]
fmul qword [0x65f9a0]
fidiv dword [esp + 0x38]
fnstsw ax
test ah, 1
jne 0x5ba1e1
fadd qword [0x65f9a0]
jmp 0x5ba1e7
fsub qword [0x65f9a0]
call fcn.00645030
mov edx, dword [esp + 0x10]
push eax
mov eax, dword [0x6bff08]
mov ecx, dword [0x73a958]
add eax, 0xfffffffe
push 0x6c0110
push eax
mov eax, dword [edx + 0x73b1]
mov edx, dword [esp + 0x20]
sub edi, eax
add edi, edx
push ecx
push edi
push 0
lea eax, [esp + 0xac]
push esi
push eax
push 0x732bc0
call fcn.00496440
add esp, 0x24
jmp 0x5ba3a8
fld qword [esp + 0x58]
fadd qword [esp + 0x18]
fld st(0)
call fcn.00645030
cdq
xor eax, edx
sub eax, edx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x44], eax
fild dword [esp + 0x44]
fcom qword [0x6767a0]
fnstsw ax
test ah, 1
jne 0x5ba2a7
mov ecx, dword [0x6bff08]
mov eax, dword [esp + 0x10]
fstp st(0)
fmul qword [0x65f9a0]
mov edx, dword [0x73a958]
sub esp, 8
add ecx, 0xfffffffe
fstp qword [esp]
push 0x6c0138
push ecx
mov ecx, dword [eax + 0x73b1]
push edx
mov edx, dword [esp + 0x28]
sub edi, ecx
add edi, edx
lea ecx, [esp + 0xb8]
push edi
push 0
push esi
push ecx
jmp 0x5ba39b
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 0x4e]
cmp ecx, 3
jne 0x5ba302
fcom qword [0x665d58]
fnstsw ax
test ah, 1
jne 0x5ba302
mov eax, dword [0x6bff08]
sub esp, 8
fstp st(0)
fmul qword [0x65f9a0]
mov ecx, dword [0x73a958]
add eax, 0xfffffffe
fstp qword [esp]
push 0x6b5d04
push eax
mov eax, dword [edx + 0x73b1]
mov edx, dword [esp + 0x24]
sub edi, eax
push ecx
add edi, edx
lea eax, [esp + 0xd0]
push edi
push 0
push esi
push eax
jmp 0x5ba39b
fcomp qword [0x663768]
fnstsw ax
test ah, 1
jne 0x5ba351
fmul qword [0x65f9a0]
mov ecx, dword [0x6bff08]
mov eax, dword [esp + 0x10]
mov edx, dword [0x73a958]
sub esp, 8
add ecx, 0xfffffffe
fstp qword [esp]
push 0x6bb95c
push ecx
mov ecx, dword [eax + 0x73b1]
push edx
mov edx, dword [esp + 0x28]
sub edi, ecx
add edi, edx
lea ecx, [esp + 0xd8]
push edi
push 0
push esi
push ecx
jmp 0x5ba39b
cmp ecx, 3
mov eax, 0x6c0130
je 0x5ba360
mov eax, 0x6b5d04
fmul qword [0x65f9a0]
mov edx, dword [0x6bff08]
mov ecx, dword [esp + 0x10]
sub esp, 8
add edx, 0xfffffffe
fstp qword [esp]
push eax
mov eax, dword [0x73a958]
push edx
mov edx, dword [ecx + 0x73b1]
push eax
mov eax, dword [esp + 0x28]
sub edi, edx
lea edx, [esp + 0x90]
add edi, eax
push edi
push 0
push esi
push edx
push 0x732bc0
call fcn.00496440
add esp, 0x28
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x32], 0x65
je 0x5ba401
fild dword [esp + 0x14]
fadd qword [esp + 0x70]
call fcn.00645030
push eax
push 4
push eax
push 1
push esi
mov ecx, 0x732bc0
call fcn.00495d40
mov edi, dword [esp + 0x50]
mov ecx, dword [esp + 0x14]
lea eax, [edi + ecx]
mov ecx, 0x732bc0
push eax
push 2
push eax
push 1
push esi
call fcn.00495d40
mov eax, ebx
mov ecx, 0x732bc0
sub eax, edi
push eax
push 2
push eax
push 1
push esi
call fcn.00495d40
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x34]
cmp dword [edx + 0x32], 0x65
je 0x5ba420
push ebx
push 6
push ebx
push 1
push esi
mov ecx, 0x732bc0
call fcn.00495d40
mov eax, dword [0x6a8268]
test eax, eax
je 0x5ba458
mov edx, dword [edi + 0x14]
mov eax, ebx
sub eax, edx
test eax, eax
jle 0x5ba458
mov cx, bx
sub cx, dx
xor edx, edx
mov dl, byte [edi + 0x1ff]
mov word [edi + edx*2 + 0x201], cx
mov al, byte [edi + 0x1ff]
inc al
mov byte [edi + 0x1ff], al
mov eax, dword [esp + 0x34]
mov dword [esp + 0x14], ebx
fld qword [esp + 0x28]
fmul qword [eax + 0x5f]
fcomp qword [eax + 0x67]
fnstsw ax
test ah, 0x41
je 0x5b9e4c
mov eax, dword [esp + 0x40]
mov edi, dword [esp + 0x34]
fld qword [esp + 0x18]
inc eax
mov dword [esp + 0x40], eax
jmp 0x5b9eaf
cmp eax, 0x186a0
jne 0x5ba4aa
lea ecx, [esp + 0xd4]
push 0x6c0150
push ecx
call dword [fcn.0065f1cc]
add esp, 8
jmp 0x5ba4e0
cmp eax, 0x2710
jne 0x5ba4c9
lea edx, [esp + 0xd4]
push 0x6c0148
push edx
call dword [fcn.0065f1cc]
add esp, 8
jmp 0x5ba4e0
push eax
lea eax, [esp + 0xd8]
push 0x6c010c
push eax
call dword [fcn.0065f1cc]
add esp, 0xc
lea ecx, [esp + 0xd4]
push ecx
lea ecx, [esp + 0x28]
call fcn.00643d2c
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x58]
push edx
mov edx, dword [esi + 8]
mov ecx, dword [eax - 8]
push ecx
push eax
push edx
call dword [fcn.0065e0bc]
lea ecx, [esp + 0x24]
call fcn.00643d26
mov eax, dword [ebx + 0x1c]
mov ecx, dword [esp + 0x58]
push 6
lea edx, [eax - 2]
lea edi, [ecx + 4]
push edx
add eax, 0xffffffef
push edi
push eax
push 1
push esi
mov ecx, 0x732bc0
call fcn.004961f0
mov edx, dword [ebx + 0x1c]
mov ecx, dword [0x73a958]
lea eax, [esp + 0xd4]
sub edx, 0x11
push eax
push 0x69a8e4
push 0
push ecx
push edx
push 3
push esi
lea eax, [esp + 0xa0]
push eax
push 0x732bc0
call fcn.00496440
mov eax, dword [ebx + 0x1c]
add esp, 0x24
lea ecx, [eax - 2]
add eax, 0xffffffef
push ecx
push edi
push eax
push 1
push esi
mov ecx, 0x732bc0
call fcn.00495f40
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x138]
add edx, 0x10
push edx
push eax
call dword [fcn.0065f51c]
mov edi, dword [ebp + 0x18]
mov ebx, dword [ebp + 0x14]
push edi
lea ecx, [esp + 0x13c]
push ebx
push ecx
call dword [fcn.0065f520]
test eax, eax
jne 0x5ba5ba
test ebx, ebx
jge 0x5ba6cf
mov edx, dword [0x6bff08]
cmp word [0x6cf850], 1
mov dword [esp + 0x8c], edx
jne 0x5ba5e1
test ebx, ebx
jge 0x5ba5e1
mov ebx, dword [esp + 0x10]
fld dword [ebx + 0xc896]
jmp 0x5ba5f1
mov eax, dword [ebp + 0x10]
mov ebx, dword [esp + 0x10]
push edi
push eax
mov ecx, ebx
call fcn.005b7130
mov eax, dword [ebx + 0x2e8]
fst qword [esp + 0x28]
fstp dword [ebx + 0x73b5]
test eax, eax
je 0x5ba61e
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push ecx
push edx
lea eax, [esp + 0xdc]
push 0x6bc088
push eax
jmp 0x5ba652
mov ecx, dword [ebx + 0x48]
mov edx, dword [esp + 0x2c]
push edx
fld dword [ecx + 0xe8]
fcomp dword [0x676b2c]
fnstsw ax
test ah, 1
mov eax, dword [esp + 0x2c]
push eax
je 0x5ba645
push 0x6b5d0c
jmp 0x5ba64a
push 0x6a1370
lea ecx, [esp + 0xe0]
push ecx
call dword [fcn.0065f1cc]
add esp, 0x10
mov ecx, ebx
push edi
push 0
call fcn.005b7130
mov edx, dword [esp + 0x34]
fstp dword [0x732a48]
mov eax, dword [edx + 0x53]
test eax, eax
mov dword [esp + 0x38], eax
je 0x5ba69e
fild dword [esp + 0x38]
fdivr qword [esp + 0x28]
call fcn.00645030
push eax
lea eax, [esp + 0xd8]
push 0x69a740
push eax
call dword [fcn.0065f1cc]
add esp, 0xc
lea ecx, [esp + 0xd4]
push 5
push ecx
xor eax, eax
sub esp, 0x10
mov ecx, 0x732bc0
mov edx, esp
push esi
mov dword [edx], eax
lea eax, [edi - 0x10]
mov dword [edx + 4], eax
mov eax, dword [esp + 0xa8]
mov dword [edx + 8], eax
mov dword [edx + 0xc], edi
call fcn.00496c70
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14