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

Disassembly:
push edi
push esi
push ebx
sub esp, 0x10
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
cmp ecx, 0x13
jle 0x8df720
mov eax, 4
xor edi, edi
nop
add eax, eax
add edi, 1
lea edx, [eax + 0xf]
cmp ecx, edx
jg 0x8df6d0
mov dword [esp], edi
call fcn.008e1400
lea edx, [esi + 1]
mov dword [eax], edi
movzx ecx, byte [esi]
lea edi, [eax + 4]
mov byte [eax + 4], cl
mov eax, edi
test cl, cl
je 0x8df70f
lea esi, [esi]
nop
movzx ecx, byte [edx]
add eax, 1
add edx, 1
mov byte [eax], cl
test cl, cl
jne 0x8df700
test ebx, ebx
je 0x8df715
mov dword [ebx], eax
add esp, 0x10
mov eax, edi
pop ebx
pop esi
pop edi
ret
xor edi, edi
jmp 0x8df6dc
push ebp
push edi
push esi
push ebx
sub esp, 0xbc
mov eax, dword [esp + 0xd4]
mov esi, dword [esp + 0xe0]
mov edi, dword [esp + 0xe4]
mov edx, dword [esp + 0xd0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0xd8]
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0xe8]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0xdc]
mov dword [esp + 0x18], esi
mov esi, dword [eax]
mov ecx, eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x30], edi
mov edi, dword [esp + 0xec]
mov eax, esi
mov dword [esp + 0x38], edx
and eax, 0xffffffcf
mov dword [esp + 0x1c], edi
mov dword [ecx], eax
mov eax, esi
and eax, 7
cmp eax, 3
je 0x8dfc80
mov edi, esi
and edi, 4
mov dword [esp + 0x60], edi
jne 0x8dfbf8
test eax, eax
je 0x8dfc48
mov edi, dword [edx]
mov eax, 0x20
xor edx, edx
cmp edi, 0x20
jle 0x8dfa09
add eax, eax
add edx, 1
cmp edi, eax
jg 0x8dfa00
mov dword [esp], edx
lea ebx, [edi - 1]
sar ebx, 5
call fcn.008e1400
mov dword [esp + 0x40], ebx
mov ebp, eax
mov eax, dword [esp + 0x28]
lea edx, [ebp + 0x14]
lea ecx, [eax + ebx*4]
lea esi, [esi]
nop
mov ebx, dword [eax]
add eax, 4
add edx, 4
mov dword [edx - 4], ebx
cmp ecx, eax
jae 0x8dfa30
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x40]
add ecx, 1
add eax, 1
lea ebx, [ebx*4 + 4]
cmp ecx, eax
mov eax, 4
cmovb ebx, eax
sar ebx, 2
jmp 0x8dfa70
test ebx, ebx
je 0x8dfcc0
mov eax, ebx
sub ebx, 1
mov edx, dword [ebp + ebx*4 + 0x14]
test edx, edx
je 0x8dfa68
bsr edx, dword [ebp + ebx*4 + 0x14]
mov dword [ebp + 0x10], eax
shl eax, 5
xor edx, 0x1f
sub eax, edx
mov ebx, eax
mov dword [esp], ebp
call fcn.008e12b0
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xac], eax
mov dword [esp + 0x68], ecx
test eax, eax
jne 0x8dfcd0
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x8dfc40
lea eax, [esp + 0xac]
mov dword [esp], ebp
mov dword [esp + 4], eax
call fcn.008e1da0
fstp qword [esp + 0x48]
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x68]
and edx, 0xfffff
or edx, 0x3ff00000
add eax, ebx
mov dword [esp + 0x44], edx
fld qword [esp + 0x40]
mov dword [esp + 0x58], eax
fsub dword [0x9673e0]
lea ecx, [eax - 1]
mov eax, 1
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x58]
fmul qword [0x9673e8]
fadd qword [0x9673f0]
mov dword [esp + 0x50], ecx
sub eax, edx
fild dword [esp + 0x50]
test ecx, ecx
fmul qword [0x9673f8]
cmovns eax, ecx
sub eax, 0x435
faddp st(1)
test eax, eax
jle 0x8dfb4c
mov dword [esp + 0x50], eax
fild dword [esp + 0x50]
fmul qword [0x967400]
faddp st(1)
fst qword [esp + 0x50]
cvttsd2si eax, qword [esp + 0x50]
fldz
fcompi st(1)
mov dword [esp + 0x50], eax
ja 0x8e0078
fstp st(0)
mov eax, ecx
mov edx, dword [esp + 0x48]
shl eax, 0x14
add eax, edx
mov dword [esp + 0x44], eax
mov eax, ebx
sub eax, ecx
lea ecx, [eax - 1]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x50]
cmp ecx, 0x16
ja 0x8dfcf8
fld qword [ecx*8 + 0x967460]
fst qword [esp + 0x48]
fld qword [esp + 0x40]
fxch st(1)
fcompi st(1)
fstp st(0)
ja 0x8e00e0
mov dword [esp + 0x88], 0
mov dword [esp + 0x70], 0
test eax, eax
jg 0x8dfbd8
mov edx, 1
mov dword [esp + 0x64], 0
sub edx, eax
mov dword [esp + 0x70], edx
lea esi, [esi]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x78], 0
add dword [esp + 0x64], ecx
mov dword [esp + 0x74], ecx
jmp 0x8dfd4e
xor ebx, ebx
cmp eax, 4
jne 0x8dfc70
mov eax, dword [esp + 0x18]
mov dword [eax], 0xffff8000
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xd8], 3
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd0], 0x9673d9
add esp, 0xbc
pop ebx
pop esi
pop edi
pop ebp
jmp 0x8df6b0
mov dword [esp], ebp
call fcn.008e14e0
mov eax, dword [esp + 0x18]
mov dword [eax], 1
mov eax, dword [esp + 0x1c]
mov dword [esp + 8], 1
mov dword [esp + 4], eax
mov dword [esp], 0x9673dd
call 0x8df6b0
mov ebx, eax
add esp, 0xbc
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x18]
mov dword [eax], 0xffff8000
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xd8], 8
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd0], 0x9673d0
add esp, 0xbc
pop ebx
pop esi
pop edi
pop ebp
jmp 0x8df6b0
mov dword [ebp + 0x10], 0
jmp 0x8dfa8f
mov dword [esp + 4], eax
mov dword [esp], ebp
call fcn.008e1180
mov eax, dword [esp + 0xac]
mov edx, dword [esp + 0x2c]
add edx, eax
sub ebx, eax
mov dword [esp + 0x68], edx
jmp 0x8dfaae
mov dword [esp + 0x88], 1
mov edx, dword [esp + 0x64]
mov dword [esp + 0x70], 0
test edx, edx
jns 0x8dfd26
mov edx, 1
mov dword [esp + 0x64], 0
sub edx, eax
mov dword [esp + 0x70], edx
mov eax, dword [esp + 0x50]
test eax, eax
jns 0x8dfbd8
mov eax, dword [esp + 0x50]
sub dword [esp + 0x70], eax
mov dword [esp + 0x50], 0
mov ecx, eax
mov dword [esp + 0x74], eax
neg ecx
mov dword [esp + 0x78], ecx
mov eax, dword [esp + 0x20]
cmp eax, 9
ja 0x8dffe0
cmp eax, 5
jg 0x8e0098
mov eax, dword [esp + 0x58]
add eax, 0x3fd
cmp eax, 0x7f7
setbe al
movzx eax, al
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x20]
cmp eax, 4
je 0x8e0453
cmp eax, 5
je 0x8e08ec
mov dword [esp + 0x7c], 0
cmp eax, 2
je 0x8e045b
cmp eax, 3
jne 0x8e0003
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x74]
add eax, edx
mov edx, 1
mov dword [esp + 0x8c], eax
add eax, 1
test eax, eax
mov dword [esp + 0x48], eax
cmovg edx, eax
mov eax, edx
mov dword [esp], eax
mov dword [esp + 0xac], edx
call fcn.008df670
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 0xc]
sub eax, 1
mov dword [esp + 0x58], eax
je 0x8dfe1e
mov ecx, dword [esp + 0x58]
mov eax, 2
test ecx, ecx
cmovns eax, ecx
and esi, 8
mov dword [esp + 0x58], eax
mov ecx, eax
je 0x8e0268
mov eax, 3
sub eax, ecx
mov dword [esp + 0x58], eax
mov esi, dword [esp + 0x48]
cmp esi, 0xe
setbe al
and al, byte [esp + 0x80]
mov ecx, eax
je 0x8e0268
mov eax, dword [esp + 0x74]
or eax, dword [esp + 0x58]
jne 0x8e0268
movsd xmm0, qword [esp + 0x40]
mov eax, dword [esp + 0x88]
mov dword [esp + 0xac], 0
movsd qword [esp + 0x58], xmm0
test eax, eax
je 0x8dfe77
fld qword [esp + 0x58]
fld1
fcompi st(1)
ja 0x8e0d14
fstp st(0)
fld qword [esp + 0x58]
fadd st(0)
fadd dword [0x96741c]
fstp qword [esp + 0x90]
mov eax, dword [esp + 0x90]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x94]
sub eax, 0x3400000
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x48]
test eax, eax
je 0x8e0216
movsd xmm1, qword [esp + 0x58]
mov esi, dword [esp + 0x48]
mov dword [esp + 0x90], 0
movsd qword [esp + 0x98], xmm1
mov eax, dword [esp + 0x7c]
fld qword [esp + 0x80]
fld qword [esi*8 + 0x967458]
test eax, eax
je 0x8e08f9
fdivr dword [0x967424]
mov ecx, dword [esp + 0x6c]
cvttsd2si eax, qword [esp + 0x98]
lea edx, [ecx + 1]
mov dword [esp + 0x40], eax
add eax, 0x30
mov byte [ecx], al
fsubrp st(1)
fild dword [esp + 0x40]
fsubr qword [esp + 0x98]
fxch st(1)
fcomi st(1)
jbe 0x8dff7c
fstp st(0)
jmp 0x8e0ef4
mov eax, dword [esp + 0xac]
add eax, 1
mov dword [esp + 0xac], eax
cmp eax, esi
jge 0x8e0241
fld dword [0x967414]
add edx, 1
fmul st(1), st(0)
fmulp st(2)
fxch st(1)
fst qword [esp + 0x40]
cvttsd2si eax, qword [esp + 0x40]
mov dword [esp + 0x40], eax
fild dword [esp + 0x40]
add eax, 0x30
mov byte [edx - 1], al
fsubp st(1)
fxch st(1)
fcomi st(1)
ja 0x8e0ef2
fld st(1)
fsubr dword [0x967410]
fxch st(1)
fcomi st(1)
fstp st(1)
jbe 0x8dff30
fstp st(0)
fstp st(0)
movzx ecx, byte [edx - 1]
mov ebx, dword [esp + 0x6c]
jmp 0x8dffae
cmp eax, ebx
je 0x8e0e2f
movzx ecx, byte [eax - 1]
mov edx, eax
lea eax, [edx - 1]
cmp cl, 0x39
je 0x8dffa0
mov dword [esp + 0x6c], edx
add ecx, 1
mov byte [eax], cl
mov eax, dword [esp + 0x90]
mov dword [esp + 0x60], 0x20
add eax, 1
mov dword [esp + 0x64], eax
jmp 0x8e01af
mov eax, dword [esp + 0x58]
mov dword [esp + 0x20], 0
add eax, 0x3fd
cmp eax, 0x7f7
setbe al
movzx eax, al
mov dword [esp + 0x80], eax
mov dword [esp + 0x30], edi
fild dword [esp + 0x30]
fmul qword [0x967408]
fstp qword [esp + 0x30]
cvttsd2si eax, qword [esp + 0x30]
add eax, 3
mov dword [esp], eax
mov dword [esp + 0xac], eax
call fcn.008df670
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x30], eax
sub eax, 1
mov dword [esp + 0x58], eax
je 0x8e00f5
mov dword [esp + 0x30], 0
mov dword [esp + 0x7c], 1
mov dword [esp + 0x8c], 0xffffffff
mov dword [esp + 0x48], 0xffffffff
jmp 0x8dfdf6
fild dword [esp + 0x50]
fucompi st(1)
fstp st(0)
jp 0x8e0088
je 0x8dfb66
sub dword [esp + 0x50], 1
jmp 0x8dfb66
mov dword [esp + 0x80], 0
sub eax, 4
mov dword [esp + 0x20], eax
cmp eax, 4
je 0x8e0453
cmp eax, 5
je 0x8e08ec
mov dword [esp + 0x7c], 0
cmp eax, 2
je 0x8e045b
mov dword [esp + 0x20], 3
jmp 0x8dfdaf
sub dword [esp + 0x50], 1
mov dword [esp + 0x88], 0
jmp 0x8dfd03
mov eax, dword [esp + 0x68]
mov dword [esp + 0x30], 0
test eax, eax
js 0x8e0eb3
mov dword [esp + 0x7c], 1
mov dword [esp + 0x8c], 0xffffffff
mov dword [esp + 0x48], 0xffffffff
lea esi, [esi]
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x74]
cmp dword [esi + 0x14], eax
jl 0x8e0274
mov edx, dword [esp + 0x30]
fld qword [eax*8 + 0x967460]
test edx, edx
jns 0x8e09cc
mov esi, dword [esp + 0x48]
test esi, esi
jg 0x8e09cc
jne 0x8e047f
fmul dword [0x967420]
fld qword [esp + 0x40]
fxch st(1)
fcompi st(1)
fstp st(0)
jae 0x8e0481
add eax, 2
mov dword [esp + 0x40], 0
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x64], eax
add dword [esp + 0x6c], 1
mov byte [ebx], 0x31
mov dword [esp + 0x60], 0x20
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call fcn.008e14e0
test esi, esi
je 0x8e01af
mov dword [esp], esi
call fcn.008e14e0
mov dword [esp], ebp
call fcn.008e14e0
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x6c]
mov edi, dword [esp + 0x64]
mov byte [eax], 0
mov dword [esi], edi
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x8e01d2
mov dword [esi], eax
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x60]
or dword [eax], esi
add esp, 0xbc
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
fstp st(0)
fld qword [esp + 0x58]
fadd st(0)
fadd dword [0x96741c]
fstp qword [esp + 0x40]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x44]
sub eax, 0x3400000
mov dword [esp + 0x84], eax
fld qword [esp + 0x58]
fsub dword [0x967420]
fld qword [esp + 0x80]
fxch st(1)
fcomi st(1)
ja 0x8e0dd8
fxch st(1)
fchs
fcompi st(1)
fstp st(0)
ja 0x8e0481
jmp 0x8e0249
fstp st(0)
fstp st(0)
jmp 0x8e0249
fstp st(0)
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x58], 0
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
lea esi, [esi]
mov ecx, dword [esp + 0x68]
test ecx, ecx
jns 0x8e0128
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x8e04b0
mov esi, dword [esp + 0x38]
sub edi, ebx
lea eax, [edi + 1]
mov edx, dword [esi + 4]
mov esi, dword [esp + 0x68]
mov dword [esp + 0xac], eax
mov ecx, esi
sub ecx, edi
cmp ecx, edx
jge 0x8e08a8
mov edi, dword [esp + 0x20]
lea eax, [edi - 3]
and eax, 0xfffffffd
je 0x8e08b3
mov eax, esi
mov esi, dword [esp + 0x48]
sub eax, edx
add eax, 1
cmp edi, 1
setg cl
test esi, esi
mov dword [esp + 0xac], eax
setg dl
test cl, dl
je 0x8e02dc
cmp eax, esi
jg 0x8e1045
mov esi, dword [esp + 0x70]
add dword [esp + 0x64], eax
mov edx, dword [esp + 0x78]
add eax, esi
mov edi, esi
mov dword [esp + 0x70], eax
mov dword [esp], 1
mov dword [esp + 0x40], edx
call fcn.008e1630
mov dword [esp + 0x7c], 1
mov edx, dword [esp + 0x40]
mov esi, eax
test edi, edi
jle 0x8e0334
mov ecx, dword [esp + 0x64]
test ecx, ecx
jle 0x8e0334
cmp edi, ecx
mov eax, ecx
cmovle eax, edi
sub dword [esp + 0x70], eax
sub ecx, eax
mov dword [esp + 0xac], eax
sub edi, eax
mov dword [esp + 0x64], ecx
mov eax, dword [esp + 0x78]
test eax, eax
je 0x8e035e
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x8e034c
test edx, edx
jne 0x8e0b59
mov eax, dword [esp + 0x78]
mov dword [esp], ebp
mov dword [esp + 4], eax
call fcn.008e1860
mov ebp, eax
mov dword [esp], 1
call fcn.008e1630
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x50]
test eax, eax
jne 0x8e0830
cmp dword [esp + 0x20], 1
jle 0x8e0870
mov ebx, 0x1f
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x70]
sub ebx, eax
sub ebx, 4
and ebx, 0x1f
add edx, ebx
mov dword [esp + 0xac], ebx
mov eax, ebx
test edx, edx
jle 0x8e03be
mov dword [esp], ebp
mov dword [esp + 4], edx
call fcn.008e19e0
mov ebp, eax
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0x64]
add ecx, eax
test ecx, ecx
jle 0x8e03dc
mov eax, dword [esp + 0x40]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.008e19e0
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x88]
cmp dword [esp + 0x20], 2
setg dl
test eax, eax
jne 0x8e06f0
mov eax, dword [esp + 0x48]
test eax, eax
jg 0x8e04c0
test dl, dl
je 0x8e04c0
mov eax, dword [esp + 0x48]
test eax, eax
jne 0x8e048b
mov eax, dword [esp + 0x40]
mov dword [esp + 8], 0
mov dword [esp + 4], 5
mov dword [esp], eax
call fcn.008e1550
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 0x40], eax
call fcn.008e1b20
test eax, eax
jle 0x8e048b
mov eax, dword [esp + 0x74]
mov ebx, dword [esp + 0x6c]
add eax, 2
mov dword [esp + 0x64], eax
jmp 0x8e0187
mov dword [esp + 0x7c], 1
mov ecx, dword [esp + 0x30]
mov eax, 1
test ecx, ecx
cmovg eax, ecx
mov dword [esp + 0x8c], eax
mov edx, eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x30], eax
jmp 0x8dfdd3
fstp st(0)
mov dword [esp + 0x40], 0
xor esi, esi
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x60], 0x10
neg eax
mov dword [esp + 0x64], eax
jmp 0x8e0197
mov edx, dword [esp + 0x78]
mov edi, dword [esp + 0x70]
xor esi, esi
jmp 0x8e030e
mov eax, dword [esp + 0x74]
add eax, 1
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x8e0770
add ebx, edi
test ebx, ebx
jle 0x8e04eb
mov dword [esp], esi
mov dword [esp + 4], ebx
call fcn.008e19e0
mov esi, eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x2c], esi
test eax, eax
jne 0x8e0d92
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x30], eax
mov eax, 1
jmp 0x8e05d7
mov dword [esp], edx
call fcn.008e14e0
mov eax, 1
test ebx, ebx
js 0x8e0c00
or ebx, dword [esp + 0x20]
jne 0x8e0538
mov edx, dword [esp + 0x28]
test byte [edx], 1
je 0x8e0c00
mov edi, dword [esp + 0x30]
add edi, 1
mov ebx, edi
test eax, eax
jle 0x8e0550
cmp dword [esp + 0x58], 2
jne 0x8e0df7
movzx eax, byte [esp + 0x38]
mov byte [edi - 1], al
mov eax, dword [esp + 0x48]
cmp dword [esp + 0xac], eax
je 0x8e0e20
mov dword [esp], ebp
mov dword [esp + 8], 0
mov dword [esp + 4], 0xa
call fcn.008e1550
mov dword [esp + 8], 0
mov ebp, eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], 0xa
mov dword [esp], esi
cmp esi, eax
je 0x8e06e0
call fcn.008e1550
mov dword [esp + 8], 0
mov esi, eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], 0xa
mov dword [esp], eax
call fcn.008e1550
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0x30], edi
add eax, 1
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x40]
mov dword [esp], ebp
mov dword [esp + 4], eax
call fcn.008df760
mov dword [esp + 4], esi
mov dword [esp], ebp
lea ecx, [eax + 0x30]
mov edi, eax
mov dword [esp + 0x38], ecx
call fcn.008e1b20
mov ecx, dword [esp + 0x2c]
mov ebx, eax
mov eax, dword [esp + 0x40]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.008e1b70
mov edx, eax
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x8e0510
mov dword [esp + 4], edx
mov dword [esp], ebp
mov dword [esp + 0x68], edx
call fcn.008e1b20
mov edx, dword [esp + 0x68]
mov dword [esp + 0x50], eax
mov dword [esp], edx
call fcn.008e14e0
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x20]
or eax, edx
jne 0x8e0a90
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx]
mov dword [esp + 0x50], edx
and edx, 1
or edx, dword [esp + 0x58]
jne 0x8e051d
mov ecx, dword [esp + 0x38]
cmp ecx, 0x39
je 0x8e10da
test ebx, ebx
jle 0x8e114c
mov dword [esp + 0x60], 0x20
lea ecx, [edi + 0x31]
mov eax, dword [esp + 0x30]
mov edx, esi
mov esi, dword [esp + 0x2c]
mov byte [eax], cl
lea edi, [eax + 1]
lea esi, [esi]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x20], edx
mov dword [esp], eax
call fcn.008e14e0
test esi, esi
je 0x8e0ac7
mov edx, dword [esp + 0x20]
test edx, edx
je 0x8e06cc
cmp edx, esi
je 0x8e06cc
mov dword [esp], edx
call fcn.008e14e0
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x6c], edi
jmp 0x8e01a7
call fcn.008e1550
mov dword [esp + 0x2c], eax
mov esi, eax
jmp 0x8e05c9
mov eax, dword [esp + 0x40]
mov dword [esp], ebp
mov byte [esp + 0x2c], dl
mov dword [esp + 4], eax
call fcn.008e1b20
movzx edx, byte [esp + 0x2c]
test eax, eax
jns 0x8e03f3
mov dword [esp], ebp
mov eax, dword [esp + 0x74]
mov dword [esp + 8], 0
mov dword [esp + 4], 0xa
sub eax, 1
mov dword [esp + 0x38], eax
call fcn.008e1550
mov edx, dword [esp + 0x8c]
mov ecx, dword [esp + 0x7c]
mov ebp, eax
test edx, edx
movzx edx, byte [esp + 0x2c]
setle al
and edx, eax
test ecx, ecx
jne 0x8e0fa9
test dl, dl
jne 0x8e0ecb
mov eax, dword [esp + 0x74]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x48], eax
mov dword [esp + 0x20], esi
mov ebx, dword [esp + 0x6c]
mov eax, 1
mov edi, dword [esp + 0x40]
mov esi, dword [esp + 0x48]
jmp 0x8e07b4
mov dword [esp], ebp
mov dword [esp + 8], 0
mov dword [esp + 4], 0xa
call fcn.008e1550
mov ebp, eax
mov eax, dword [esp + 0xac]
add eax, 1
mov dword [esp + 4], edi
add ebx, 1
mov dword [esp], ebp
mov dword [esp + 0xac], eax
call fcn.008df760
add eax, 0x30
mov byte [ebx - 1], al
cmp dword [esp + 0xac], esi
jl 0x8e0790
mov esi, dword [esp + 0x20]
mov ecx, eax
xor edx, edx
mov edi, dword [esp + 0x58]
test edi, edi
je 0x8e0b9a
mov eax, dword [ebp + 0x10]
cmp edi, 2
je 0x8e0bdf
cmp eax, 1
jg 0x8e0a99
mov eax, dword [ebp + 0x14]
test eax, eax
jne 0x8e0a99
test eax, eax
setne al
movzx eax, al
shl eax, 4
mov dword [esp + 0x60], eax
lea esi, [esi]
mov edi, ebx
sub ebx, 1
cmp byte [ebx], 0x30
je 0x8e0820
jmp 0x8e06a0
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call fcn.008e1860
cmp dword [esp + 0x20], 1
mov dword [esp + 0x40], eax
jle 0x8e0b06
mov dword [esp + 0x50], 0
mov ebx, dword [esp + 0x40]
mov eax, dword [ebx + 0x10]
bsr ebx, dword [ebx + eax*4 + 0x10]
xor ebx, 0x1f
jmp 0x8e038a
cmp ebx, 1
jne 0x8e0385
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 4]
add eax, 1
cmp dword [esp + 0x2c], eax
jle 0x8e0385
add dword [esp + 0x70], 1
add dword [esp + 0x64], 1
mov dword [esp + 0x50], 1
jmp 0x8e0385
cmp dword [esp + 0x20], 1
jle 0x8e02dc
mov edi, dword [esp + 0x48]
mov esi, dword [esp + 0x78]
lea eax, [edi - 1]
cmp esi, eax
jl 0x8e0ad4
mov edx, esi
sub edx, eax
test edi, edi
jns 0x8e0fec
mov edi, dword [esp + 0x70]
mov eax, dword [esp + 0x48]
mov dword [esp + 0xac], 0
sub edi, eax
jmp 0x8e02f0
mov dword [esp + 0x7c], 1
jmp 0x8dfdaf
fmulp st(1)
fld qword [esp + 0x40]
mov dword [esp + 0x80], ebp
xor edi, edi
mov dword [esp + 0xac], 1
mov edx, dword [esp + 0x6c]
mov ebp, ecx
fld st(0)
jmp 0x8e0932
add eax, 1
fmul dword [0x967414]
mov edi, ebp
mov dword [esp + 0xac], eax
fst qword [esp + 0x40]
cvttsd2si ecx, qword [esp + 0x40]
test ecx, ecx
je 0x8e094c
mov dword [esp + 0x40], ecx
fild dword [esp + 0x40]
mov edi, ebp
fsubp st(1)
add edx, 1
add ecx, 0x30
mov byte [edx - 1], cl
mov eax, dword [esp + 0xac]
cmp eax, esi
jne 0x8e0920
mov eax, edi
mov ebp, dword [esp + 0x80]
test al, al
fcmove st(0), st(1)
fstp st(1)
fld dword [0x967424]
fld st(2)
fadd st(1)
fxch st(2)
fcomi st(2)
fstp st(2)
ja 0x8e0ee3
fsubrp st(2)
fxch st(1)
fcompi st(1)
ja 0x8e100a
fstp st(0)
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
mov edi, dword [esp + 0x68]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
test edi, edi
js 0x8e0f92
mov eax, dword [esp + 0x38]
mov esi, dword [eax + 0x14]
test esi, esi
js 0x8e0f92
fld qword [0x967460]
mov dword [esp + 0x58], 0
fld qword [esp + 0x40]
mov esi, dword [esp + 0x6c]
mov dword [esp + 0xac], 1
lea edx, [esi + 1]
fld st(0)
fdiv st(2)
fstp qword [esp + 0x20]
cvttsd2si eax, qword [esp + 0x20]
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
lea ecx, [eax + 0x30]
mov byte [esi], cl
mov esi, dword [esp + 0x74]
fmul st(2)
add esi, 1
mov dword [esp + 0x64], esi
fsubp st(1)
fldz
fxch st(1)
fucomi st(1)
fstp st(1)
jp 0x8e0a38
lea esi, [esi]
lea esi, [esi]
jne 0x8e0a38
fstp st(0)
fstp st(0)
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x6c], edx
jmp 0x8e01af
mov ecx, dword [esp + 0xac]
mov esi, dword [esp + 0x48]
cmp ecx, esi
je 0x8e0ce6
fmul dword [0x967414]
add ecx, 1
add edx, 1
mov dword [esp + 0xac], ecx
fld st(0)
fdiv st(2)
fstp qword [esp + 0x20]
cvttsd2si eax, qword [esp + 0x20]
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
lea ecx, [eax + 0x30]
mov byte [edx - 1], cl
fmul st(2)
fsubp st(1)
fldz
fxch st(1)
fucomi st(1)
fstp st(1)
jnp 0x8e0a20
jmp 0x8e0a38
mov eax, dword [esp + 0x50]
jmp 0x8e051d
mov ecx, dword [esp + 0x6c]
jmp 0x8e0aa8
cmp ebx, ecx
je 0x8e0b40
mov edi, ebx
lea ebx, [ebx - 1]
movzx eax, byte [edi - 1]
cmp al, 0x39
je 0x8e0aa0
add eax, 1
mov dword [esp + 0x60], 0x20
mov byte [ebx], al
jmp 0x8e06a0
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x6c], edi
jmp 0x8e01af
mov esi, dword [esp + 0x48]
mov ecx, dword [esp + 0x70]
mov edx, eax
mov edi, dword [esp + 0x78]
add dword [esp + 0x64], esi
mov dword [esp + 0xac], esi
add esi, ecx
sub edx, edi
mov dword [esp + 0x70], esi
mov edi, ecx
add dword [esp + 0x50], edx
xor edx, edx
mov dword [esp + 0x78], eax
jmp 0x8e02f0
cmp ebx, 1
jne 0x8e0853
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 4]
add eax, 1
cmp dword [esp + 0x2c], eax
jle 0x8e0853
add dword [esp + 0x70], 1
add dword [esp + 0x64], 1
mov dword [esp + 0x50], 1
jmp 0x8e085b
mov eax, dword [esp + 0x6c]
add dword [esp + 0x64], 1
mov dword [esp + 0x60], 0x20
mov byte [eax], 0x31
jmp 0x8e06a0
mov dword [esp + 4], edx
mov dword [esp], esi
mov dword [esp + 0x68], edx
call fcn.008e1860
mov dword [esp + 4], ebp
mov dword [esp], eax
mov esi, eax
call fcn.008e16e0
mov dword [esp], ebp
mov dword [esp + 0x40], eax
call fcn.008e14e0
mov edx, dword [esp + 0x68]
sub dword [esp + 0x78], edx
mov ebp, dword [esp + 0x40]
je 0x8e035e
jmp 0x8e034c
mov dword [esp], ebp
mov dword [esp + 4], 1
mov dword [esp + 0x20], edx
mov dword [esp + 0x28], ecx
call fcn.008e19e0
mov ebp, eax
mov eax, dword [esp + 0x40]
mov dword [esp], ebp
mov dword [esp + 4], eax
call fcn.008e1b20
mov edx, dword [esp + 0x20]
test eax, eax
jg 0x8e0a99
jne 0x8e0bdf
mov ecx, dword [esp + 0x28]
and ecx, 1
jne 0x8e0a99
cmp dword [ebp + 0x10], 1
mov dword [esp + 0x60], 0x10
jg 0x8e0820
mov eax, dword [ebp + 0x14]
jmp 0x8e080d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esp + 0x38]
test ebx, ebx
je 0x8e0e45
cmp dword [ebp + 0x10], 1
jle 0x8e1078
cmp dword [esp + 0x58], 2
je 0x8e0e99
mov ebx, dword [esp + 0x2c]
mov edi, dword [esp + 0x30]
mov dword [esp + 0x20], ecx
jmp 0x8e0c9e
movzx eax, byte [esp + 0x20]
mov dword [esp + 0x2c], ecx
mov byte [ecx - 1], al
mov dword [esp], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], 0xa
call fcn.008e1550
mov dword [esp], ebp
cmp esi, ebx
mov dword [esp + 8], 0
cmove esi, eax
mov dword [esp + 4], 0xa
mov dword [esp + 0x28], eax
call fcn.008e1550
mov ebp, eax
mov eax, dword [esp + 0x40]
mov dword [esp], ebp
mov dword [esp + 4], eax
call fcn.008df760
mov edi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
add eax, 0x30
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.008e1b20
lea ecx, [edi + 1]
test eax, eax
jg 0x8e0c38
mov dword [esp + 0x30], edi
mov edi, ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x2c], ebx
cmp ecx, 0x39
je 0x8e10e1
mov dword [esp + 0x60], 0x20
mov edx, esi
add ecx, 1
mov esi, ebx
mov eax, dword [esp + 0x30]
mov byte [eax], cl
jmp 0x8e06a0
mov edi, dword [esp + 0x58]
test edi, edi
je 0x8e0f29
fstp st(0)
fstp st(0)
cmp edi, 1
je 0x8e102d
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x60], 0x10
mov dword [esp + 0x6c], edx
jmp 0x8e01af
test esi, esi
je 0x8e01e9
mov esi, dword [esp + 0x8c]
test esi, esi
jle 0x8e0247
fmul dword [0x967414]
fst qword [esp + 0x98]
mov eax, dword [esp + 0x98]
mov edx, dword [esp + 0x9c]
fmul dword [0x967418]
fadd dword [0x96741c]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
fstp qword [esp + 0x90]
mov eax, dword [esp + 0x90]
mov dword [esp + 0x90], 0xffffffff
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x94]
sub eax, 0x3400000
mov dword [esp + 0x84], eax
jmp 0x8dfed5
mov eax, dword [esi + 4]
mov dword [esp], eax
call fcn.008e1400
lea ecx, [eax + 0xc]
mov ebx, eax
mov eax, dword [esi + 0x10]
mov dword [esp], ecx
lea edx, [eax*4 + 8]
lea eax, [esi + 0xc]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
call fcn.008e27f8
mov dword [esp + 4], 1
mov dword [esp], ebx
call fcn.008e19e0
mov dword [esp + 0x2c], eax
jmp 0x8e04fb
fstp st(0)
fstp st(0)
mov dword [esp + 0x64], 2
mov ebx, dword [esp + 0x6c]
xor esi, esi
mov dword [esp + 0x40], 0
jmp 0x8e0187
mov ecx, dword [esp + 0x38]
cmp ecx, 0x39
je 0x8e10e1
mov eax, dword [esp + 0x30]
add ecx, 1
mov edx, esi
mov dword [esp + 0x60], 0x20
mov esi, dword [esp + 0x2c]
mov byte [eax], cl
jmp 0x8e06a0
mov edx, esi
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x2c]
jmp 0x8e07e1
add dword [esp + 0x90], 1
mov ecx, 0x31
mov dword [esp + 0x6c], edx
jmp 0x8dffbd
test eax, eax
jle 0x8e0e8f
mov dword [esp], ebp
mov dword [esp + 4], 1
mov dword [esp + 0x20], ecx
call fcn.008e19e0
mov ebp, eax
mov eax, dword [esp + 0x40]
mov dword [esp], ebp
mov dword [esp + 4], eax
call fcn.008e1b20
mov ecx, dword [esp + 0x20]
test eax, eax
jle 0x8e10f9
cmp ecx, 0x39
je 0x8e1129
mov dword [esp + 0x58], 0x20
lea ecx, [edi + 0x31]
cmp dword [ebp + 0x10], 1
jle 0x8e109d
mov eax, dword [esp + 0x30]
mov edx, esi
mov dword [esp + 0x60], 0x10
mov esi, dword [esp + 0x2c]
lea edi, [eax + 1]
jmp 0x8e0cdb
mov dword [esp + 0x8c], 0xffffffff
mov dword [esp + 0x48], 0xffffffff
jmp 0x8e0280
mov eax, dword [esp + 0x38]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x48], eax
jmp 0x8e0407
fstp st(0)
fstp st(0)
fstp st(0)
mov ebx, dword [esp + 0x6c]
jmp 0x8dffae
fstp st(0)
fldz
xor eax, eax
mov ecx, 1
mov ebx, dword [esp + 0x6c]
fucompi st(1)
fstp st(0)
mov dword [esp + 0x6c], edx
setp al
cmovne eax, ecx
shl eax, 4
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x90]
add eax, 1
mov dword [esp + 0x64], eax
jmp 0x8e01af
fadd st(0)
movzx ecx, byte [edx - 1]
fcomi st(1)
ja 0x8e10c2
fucompi st(1)
fstp st(0)
mov ebx, dword [esp + 0x6c]
jp 0x8e1111
jne 0x8e1111
test al, 1
mov eax, dword [esp + 0x74]
mov dword [esp + 0x90], eax
jne 0x8dffae
mov dword [esp + 0x60], 0x10
lea esi, [esi]
lea esi, [esi]
mov eax, edx
lea edx, [edx - 1]
cmp byte [eax - 1], 0x30
je 0x8e0f70
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x90]
add eax, 1
mov dword [esp + 0x64], eax
jmp 0x8e01af
mov dword [esp + 0x58], 0
mov edx, dword [esp + 0x78]
xor esi, esi
mov edi, dword [esp + 0x70]
jmp 0x8e030e
mov dword [esp], esi
mov dword [esp + 8], 0
mov dword [esp + 4], 0xa
mov byte [esp + 0x2c], dl
call fcn.008e1550
movzx edx, byte [esp + 0x2c]
mov esi, eax
test dl, dl
jne 0x8e0ecb
mov eax, dword [esp + 0x74]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x48], eax
jmp 0x8e04d7
mov esi, dword [esp + 0x70]
mov eax, edi
add dword [esp + 0x64], edi
mov dword [esp + 0xac], edi
add eax, esi
mov edi, esi
mov dword [esp + 0x70], eax
jmp 0x8e02f0
fldz
xor eax, eax
mov ecx, 1
mov ebx, dword [esp + 0x6c]
fucompi st(1)
fstp st(0)
setp al
cmovne eax, ecx
shl eax, 4
mov dword [esp + 0x60], eax
jmp 0x8e0f70
mov eax, dword [esp + 0x74]
movzx ecx, byte [edx - 1]
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x90], eax
jmp 0x8dffae
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x78]
lea eax, [esi - 1]
cmp edi, eax
jl 0x8e0ad4
sub edi, eax
mov eax, dword [esp + 0x70]
add dword [esp + 0x64], esi
mov edx, edi
mov dword [esp + 0xac], esi
mov edi, eax
add eax, esi
mov dword [esp + 0x70], eax
jmp 0x8e02f0
mov edx, dword [ebp + 0x14]
test edx, edx
jne 0x8e0c1a
test eax, eax
jg 0x8e0e49
mov eax, dword [esp + 0x30]
mov edx, esi
mov esi, dword [esp + 0x2c]
lea edi, [eax + 1]
jmp 0x8e0cdb
mov ebx, dword [ebp + 0x14]
mov edx, esi
mov esi, dword [esp + 0x2c]
test ebx, ebx
je 0x8e1138
mov eax, dword [esp + 0x30]
mov dword [esp + 0x60], 0x10
lea edi, [eax + 1]
jmp 0x8e0cdb
fstp st(0)
fstp st(0)
mov eax, dword [esp + 0x74]
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x90], eax
jmp 0x8dffae
mov eax, dword [esp + 0x30]
lea edi, [eax + 1]
mov edx, esi
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x6c]
mov ebx, edi
mov byte [eax], 0x39
jmp 0x8e0aa8
jne 0x8e1104
test cl, 1
jne 0x8e0e7b
mov dword [esp + 0x58], 0x20
jmp 0x8e0e8f
mov eax, dword [esp + 0x74]
mov dword [esp + 0x60], 0x10
mov dword [esp + 0x90], eax
jmp 0x8e0f70
mov eax, dword [esp + 0x30]
mov edx, esi
mov esi, dword [esp + 0x2c]
lea edi, [eax + 1]
jmp 0x8e10e7
mov eax, dword [esp + 0x58]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x30]
lea edi, [eax + 1]
jmp 0x8e0cdb
cmp dword [ebp + 0x10], 1
mov dword [esp + 0x60], 0x10
jg 0x8e068d
xor eax, eax
cmp dword [ebp + 0x14], 0
setne al
shl eax, 4
mov dword [esp + 0x60], eax
jmp 0x8e068d