Function at 0x1006f8e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a02b0
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x100b7040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x8c], edi
mov dword [ebp - 0x44], 1
mov esi, dword [edi + 0x54]
mov edx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test esi, esi
je 0x1006f945
push 4
push esi
call edx
test eax, eax
jne 0x1006f93f
lea ecx, [esi + 0xd0]
mov dl, 2
call fcn.100183d0
mov edx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov eax, dword [0x100ba9dc]
test eax, eax
je 0x1006f985
mov ecx, dword [edi + 0x68]
cmp ecx, 1
jne 0x1006f95b
mov eax, dword [eax + 0x44]
jmp 0x1006f963
cmp ecx, 2
jne 0x1006f985
mov eax, dword [eax + 0x48]
cmp eax, dword [edi + 0x64]
jae 0x1006f985
mov esi, dword [edi + 0x54]
test esi, esi
je 0x1006f985
push 4
push esi
call edx
test eax, eax
jne 0x1006f985
mov dl, 7
lea ecx, [esi + 0xd0]
call fcn.100183d0
mov ecx, dword [edi + 0x60]
test ecx, ecx
jne 0x1006f990
xor eax, eax
jmp 0x1006f9b5
mov esi, dword [0x100ae504]
mov eax, 0x10624dd3
mul ecx
mov ecx, 0xd78ae8
shr edx, 6
imul eax, edx, 0x3e8
push eax
call fcn.100184a0
mov ecx, eax
call esi
mov ecx, dword [edi + 0x60]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x4c], ecx
test eax, eax
je 0x1007006b
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0xf
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 4], 0
mov al, byte [eax + 4]
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
mov byte [ebp - 0x45], al
test ecx, ecx
je 0x1006fac3
mov eax, 0x12e0be83
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 0x1d
mov dword [ebp - 0x58], eax
cmp eax, 4
jae 0x1006fac3
cmp byte [ebp - 0x45], 0x2d
jae 0x1006fac3
push 4
push 0xd78af0
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1006fac3
movzx ecx, byte [ebp - 0x45]
mov eax, 0x10624dd3
mul dword [ebp - 0x4c]
mov eax, dword [ebp - 0x58]
mov ecx, dword [ecx*4 + 0xd78af0]
mov esi, dword [0x100ae508]
shr edx, 6
sub eax, edx
imul eax, eax, 0x3e8
add eax, dword [ebp - 0x4c]
push eax
call esi
mov esi, eax
mov dword [ebp - 0x50], esi
test esi, esi
je 0x1006faca
cmp dword [esi + 0x48], 0
mov dword [ebp - 0x50], esi
je 0x1006faca
push dword [edi + 0x60]
xor edx, edx
lea ecx, [ebp - 0x70]
push esi
call fcn.1000c7d0
add esp, 8
lea ecx, [ebp - 0x40]
push eax
call fcn.10005c60
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0xf
jbe 0x1006fabe
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006fab4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100707b8
push ecx
push edx
call fcn.1007fa46
add esp, 8
mov dword [ebp - 0x50], esi
jmp 0x1006fb1d
xor esi, esi
mov dword [ebp - 0x50], esi
jmp 0x1006facd
mov esi, dword [ebp - 0x50]
push dword [edi + 0x60]
mov edx, dword [ebp - 0x54]
lea ecx, [ebp - 0x70]
push 0
call fcn.1000c7d0
add esp, 8
lea ecx, [ebp - 0x40]
push eax
call fcn.10005c60
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0xf
jbe 0x1006fb1d
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006fb13
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100707bd
push ecx
push edx
call fcn.1007fa46
add esp, 8
mov edx, dword [ebp - 0x54]
lea ecx, [ebp - 0x70]
push esi
call fcn.1000cb90
add esp, 4
mov byte [ebp - 4], 1
mov edx, eax
mov ecx, dword [edi + 0x40]
call fcn.100182e0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0xf
jbe 0x1006fb72
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006fb68
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100707c2
push ecx
push edx
call fcn.1007fa46
add esp, 8
mov eax, dword [edi + 0x68]
cmp eax, 1
jne 0x1006fd2d
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x88]
mov edx, dword [edi + 0x64]
call fcn.10014150
mov edx, dword [ebp - 0x78]
mov esi, 3
mov eax, edx
mov dword [ebp - 0x44], 5
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x58], esi
cmp eax, esi
jle 0x1006fc23
nop dword [eax + eax]
mov ecx, eax
sub ecx, esi
cmp edx, ecx
jb 0x100707c7
mov eax, dword [ebp - 0x74]
sub eax, edx
cmp eax, 1
jb 0x1006fbf8
cmp dword [ebp - 0x74], 0xf
lea eax, [edx + 1]
lea esi, [ebp - 0x88]
mov dword [ebp - 0x78], eax
cmova esi, dword [ebp - 0x88]
sub edx, ecx
add esi, ecx
inc edx
push edx
push esi
lea eax, [esi + 1]
push eax
call fcn.100815d0
mov byte [esi], 0x2e
add esp, 0xc
mov esi, dword [ebp - 0x58]
jmp 0x1006fc0d
push 0x2e
push 1
push ecx
push dword [ebp - 0x44]
lea ecx, [ebp - 0x88]
push 1
call fcn.10005110
mov eax, dword [ebp - 0x4c]
add esi, 4
inc eax
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x4c], eax
cmp eax, esi
jle 0x1006fc23
mov edx, dword [ebp - 0x78]
jmp 0x1006fbb0
cmp dword [ebp - 0x74], 0xf
lea eax, [ebp - 0x88]
movaps xmm0, xmmword [0x100af250]
cmova eax, dword [ebp - 0x88]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x24], xmm0
mov byte [ebp - 0x14], 0
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0xf
jb 0x1006fc46
sub esp, 0x18
mov byte [ebp - 0x14], 0
mov edx, esp
lea ecx, [ebp - 0x23]
xorps xmm0, xmm0
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006fc76
sub ecx, esi
lea eax, [ebp - 0x23]
push ecx
push eax
mov ecx, edx
call fcn.10002540
lea eax, [ebp - 0x70]
push eax
call fcn.1000ae50
add esp, 0x20
mov byte [ebp - 4], 3
mov edx, eax
mov ecx, dword [edi + 0x44]
call fcn.100182e0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0xf
jbe 0x1006fcdd
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006fcd3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100707cc
push ecx
push edx
call fcn.1007fa46
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
cmp ecx, 0xf
jbe 0x1006fe0b
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006fe01
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100707cc
jmp 0x1006fe01
cmp eax, 2
jne 0x1006fe0b
mov edx, dword [edi + 0x64]
lea ecx, [ebp - 0x88]
push 0x2e
call fcn.10013c80
add esp, 4
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 0xf
jbe 0x1006fd55
mov eax, dword [eax]
movaps xmm0, xmmword [str.mM_M9_M]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x24], xmm0
mov byte [ebp - 0x14], 0
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0xf
jb 0x1006fd67
sub esp, 0x18
mov byte [ebp - 0x14], 0
mov edx, esp
lea ecx, [ebp - 0x23]
xorps xmm0, xmm0
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006fd97
sub ecx, esi
lea eax, [ebp - 0x23]
push ecx
push eax
mov ecx, edx
call fcn.10002540
lea eax, [ebp - 0x70]
push eax
call fcn.1000ae50
add esp, 0x20
mov byte [ebp - 4], 5
mov edx, eax
mov ecx, dword [edi + 0x44]
call fcn.100182e0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0xf
jbe 0x1006fcdd
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006fcd3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100707cc
jmp 0x1006fcd3
push ecx
push edx
call fcn.1007fa46
add esp, 8
mov edx, dword [edi + 0x6c]
lea ecx, [ebp - 0x88]
push 0x2e
call fcn.10013c80
add esp, 4
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 0xf
jbe 0x1006fe2a
mov eax, dword [eax]
movaps xmm0, xmmword [0x100af0b0]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x24], xmm0
mov word [ebp - 0x14], 0x77
nop
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0x10
jb 0x1006fe40
sub esp, 0x18
mov byte [ebp - 0x13], 0
mov edx, esp
lea ecx, [ebp - 0x23]
xorps xmm0, xmm0
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006fe70
sub ecx, esi
lea eax, [ebp - 0x23]
push ecx
push eax
mov ecx, edx
call fcn.10002540
lea eax, [ebp - 0x70]
push eax
call fcn.1000ae50
add esp, 0x20
mov byte [ebp - 4], 7
mov edx, eax
mov ecx, dword [edi + 0x48]
call fcn.100182e0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0xf
jbe 0x1006fed7
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006fecd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100707cc
push ecx
push edx
call fcn.1007fa46
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
cmp ecx, 0xf
jbe 0x1006ff24
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006ff1a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100707cc
push ecx
push edx
call fcn.1007fa46
add esp, 8
mov ecx, dword [edi + 0x50]
test ecx, ecx
je 0x1007002d
add ecx, 4
lea edx, [ebp - 0x40]
call fcn.10012d00
mov eax, dword [edi + 0x50]
mov edx, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x50]
mov dword [eax + 0x50], edx
mov eax, dword [edi + 0x50]
mov dword [eax + 0x54], ecx
mov eax, dword [edi + 0x50]
mov dword [eax + 0x58], 1
test ecx, ecx
je 0x1006ff66
movsx ecx, word [ecx + 0x56]
movsx eax, word [edx + 0x66]
add ecx, eax
jmp 0x1006ff6a
movsx ecx, word [edx + 0x66]
mov eax, dword [edi + 0x50]
mov dword [eax + 0x5c], ecx
mov eax, dword [edi + 0x50]
mov eax, dword [eax]
mov dword [ebp - 0x44], eax
test eax, eax
je 0x1007002d
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov esi, dword [ebp - 0x40]
test eax, eax
jne 0x10070007
cmp dword [ebp - 0x2c], 0xf
lea ecx, [ebp - 0x40]
cmova ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006ffa0
sub ecx, edx
mov dword [ebp - 0x4c], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.1007fa59
push esi
mov edi, eax
push 0
push edi
call fcn.10081b50
cmp dword [ebp - 0x2c], 0xf
lea edx, [ebp - 0x40]
push dword [ebp - 0x4c]
cmova edx, dword [ebp - 0x40]
lea esi, [edi + 0x20]
push edx
push esi
call fcn.100815d0
mov eax, dword [ebp - 0x4c]
add esp, 0x1c
mov ecx, dword [ebp - 0x44]
mov dword [edi + 4], esi
mov dword [edi + 0x14], eax
push edi
mov dword [edi + 0x18], 0x1f
call dword [0x100ae580]
push edi
call fcn.1007fa54
mov edi, dword [ebp - 0x8c]
add esp, 4
mov esi, dword [ebp - 0x40]
mov eax, dword [edi + 0x50]
mov eax, dword [eax]
mov dword [ebp - 0x44], eax
test eax, eax
je 0x10070030
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10070030
mov ecx, dword [ebp - 0x44]
push 1
call dword [0x100ae54c]
jmp 0x10070030
mov esi, dword [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2c]
cmp eax, 0xf
jbe 0x10070771
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x10070064
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100707b8
push ecx
push esi
jmp 0x10070769
test ecx, ecx
je 0x10070771
cmp ecx, 0x5f5e100
jae 0x10070771
mov edx, dword [edi + 0x74]
sub edx, dword [edi + 0x70]
sar edx, 2
call fcn.10013700
mov ecx, dword [edi + 0x70]
mov eax, dword [ecx + eax*4 - 4]
mov dword [ebp - 0x50], eax
test eax, eax
je 0x10070771
mov eax, dword [edi + 0x68]
cmp eax, 1
jne 0x100701ca
mov edx, dword [edi + 0x64]
lea ecx, [ebp - 0x88]
push 0x2e
call fcn.10013c80
add esp, 4
mov dword [ebp - 4], 8
cmp dword [eax + 0x14], 0xf
jbe 0x100700cd
mov eax, dword [eax]
movaps xmm0, xmmword [0x100af4d0]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x24], xmm0
mov byte [ebp - 0x14], 0
nop
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0xf
jb 0x100700e0
sub esp, 0x18
mov byte [ebp - 0x14], 0
mov edx, esp
lea ecx, [ebp - 0x23]
xorps xmm0, xmm0
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10070110
sub ecx, esi
lea eax, [ebp - 0x23]
push ecx
push eax
mov ecx, edx
call fcn.10002540
lea eax, [ebp - 0x70]
push eax
call fcn.1000ae50
add esp, 0x20
mov byte [ebp - 4], 9
mov edx, eax
mov ecx, dword [edi + 0x44]
call fcn.100182e0
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0xf
jbe 0x10070177
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1007016d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100707cc
push ecx
push edx
call fcn.1007fa46
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
cmp ecx, 0xf
jbe 0x100702ee
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100702e4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100702e4
jmp 0x100707cc
cmp eax, 2
jne 0x100702ee
mov edx, dword [edi + 0x64]
lea ecx, [ebp - 0x88]
push 0x2e
call fcn.10013c80
add esp, 4
mov dword [ebp - 4], 0xa
cmp dword [eax + 0x14], 0xf
jbe 0x100701f5
mov eax, dword [eax]
movaps xmm0, xmmword [0x100af4b0]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x24], xmm0
mov byte [ebp - 0x14], 0
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0xf
jb 0x10070207
sub esp, 0x18
mov byte [ebp - 0x14], 0
mov edx, esp
lea ecx, [ebp - 0x23]
xorps xmm0, xmm0
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10070237
sub ecx, esi
lea eax, [ebp - 0x23]
push ecx
push eax
mov ecx, edx
call fcn.10002540
lea eax, [ebp - 0x70]
push eax
call fcn.1000ae50
add esp, 0x20
mov byte [ebp - 4], 0xb
mov edx, eax
mov ecx, dword [edi + 0x44]
call fcn.100182e0
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0xf
jbe 0x1007029e
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10070294
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100707cc
push ecx
push edx
call fcn.1007fa46
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
cmp ecx, 0xf
jbe 0x100702ee
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100702e4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100707cc
push ecx
push edx
call fcn.1007fa46
add esp, 8
mov edx, dword [edi + 0x6c]
lea ecx, [ebp - 0x88]
push 0x2e
call fcn.10013c80
add esp, 4
mov dword [ebp - 4], 0xc
cmp dword [eax + 0x14], 0xf
jbe 0x10070310
mov eax, dword [eax]
movaps xmm0, xmmword [0x100af290]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x24], xmm0
mov word [ebp - 0x14], 0x7d
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0x10
jb 0x10070324
sub esp, 0x18
mov byte [ebp - 0x13], 0
mov edx, esp
lea ecx, [ebp - 0x23]
xorps xmm0, xmm0
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10070354
sub ecx, esi
lea eax, [ebp - 0x23]
push ecx
push eax
mov ecx, edx
call fcn.10002540
lea eax, [ebp - 0x70]
push eax
call fcn.1000ae50
add esp, 0x20
mov byte [ebp - 4], 0xd
mov edx, eax
mov ecx, dword [edi + 0x48]
call fcn.100182e0
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0xf
jbe 0x100703bb
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100703b1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100707cc
push ecx
push edx
call fcn.1007fa46
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
cmp ecx, 0xf
jbe 0x1007040b
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10070401
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100707cc
push ecx
push edx
call fcn.1007fa46
add esp, 8
mov esi, dword [0x100ae504]
mov eax, 0x10624dd3
mul dword [ebp - 0x50]
mov ecx, 0xd78ae8
mov dword [ebp - 0x78], 0
mov eax, edx
mov dword [ebp - 0x74], 0xf
shr eax, 6
mov dword [ebp - 0x44], eax
imul eax, eax, 0x3e8
mov byte [ebp - 0x88], 0
push eax
call fcn.100184a0
mov ecx, eax
call esi
mov dword [ebp - 0x58], eax
test eax, eax
je 0x10070771
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0xf
movups xmmword [ebp - 0x28], xmm0
mov esi, dword [ebp - 0x50]
mov dword [ebp - 4], 0xe
mov cl, byte [eax + 4]
mov eax, 0x12e0be83
mul esi
mov dword [ebp - 0x18], 0
sub esi, edx
mov byte [ebp - 0x28], 0
shr esi, 1
add esi, edx
mov byte [ebp - 0x45], cl
shr esi, 0x1d
cmp esi, 4
jae 0x10070541
cmp cl, 0x2d
jae 0x10070541
push 4
push 0xd78af0
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10070541
sub esi, dword [ebp - 0x44]
movzx ecx, byte [ebp - 0x45]
mov edx, dword [0x100ae508]
imul eax, esi, 0x3e8
mov ecx, dword [ecx*4 + 0xd78af0]
add eax, dword [ebp - 0x50]
push eax
call edx
mov dword [ebp - 0x44], eax
mov esi, eax
mov dword [ebp - 0x54], esi
test eax, eax
je 0x10070546
cmp dword [eax + 0x48], 0
mov dword [ebp - 0x54], esi
je 0x10070546
push dword [ebp - 0x50]
xor edx, edx
lea ecx, [ebp - 0x70]
push eax
call fcn.1000c7d0
add esp, 8
lea ecx, [ebp - 0x28]
push eax
call fcn.10005c60
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0xf
jbe 0x10070539
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1007052f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100707cc
push ecx
push edx
call fcn.1007fa46
add esp, 8
mov esi, dword [ebp - 0x44]
mov dword [ebp - 0x54], esi
jmp 0x100705a8
xor esi, esi
mov dword [ebp - 0x54], esi
push dword [ebp - 0x50]
mov edx, dword [ebp - 0x58]
lea ecx, [ebp - 0x40]
push 0
call fcn.1000c7d0
add esp, 8
lea ecx, [ebp - 0x28]
push eax
call fcn.10005c60
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x10070596
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1007058c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100707cc
push ecx
push edx
call fcn.1007fa46
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov ecx, dword [edi + 0x50]
mov eax, dword [ebp - 0x28]
test ecx, ecx
je 0x10070737
lea eax, [ecx + 4]
mov dword [ebp - 0x44], eax
test eax, eax
je 0x1007064e
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1007064e
cmp dword [ebp - 0x14], 0xf
lea ecx, [ebp - 0x28]
cmova ecx, dword [ebp - 0x28]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100705e3
sub ecx, edx
mov dword [ebp - 0x4c], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.1007fa59
push esi
mov edi, eax
push 0
push edi
call fcn.10081b50
cmp dword [ebp - 0x14], 0xf
lea ecx, [ebp - 0x28]
push dword [ebp - 0x4c]
cmova ecx, dword [ebp - 0x28]
lea esi, [edi + 0x20]
push ecx
push esi
call fcn.100815d0
mov eax, dword [ebp - 0x4c]
add esp, 0x1c
mov ecx, dword [ebp - 0x44]
mov dword [edi + 4], esi
mov dword [edi + 0x14], eax
push 0xffffffffffffffff
push 0
push edi
mov dword [edi + 0x18], 0x1f
call dword [0x100ae510]
push edi
call fcn.1007fa54
mov edi, dword [ebp - 0x8c]
add esp, 4
mov esi, dword [ebp - 0x54]
mov eax, dword [edi + 0x50]
mov edx, dword [ebp - 0x58]
mov dword [eax + 0x50], edx
mov eax, dword [edi + 0x50]
mov dword [eax + 0x54], esi
mov eax, dword [edi + 0x50]
mov dword [eax + 0x58], 1
test esi, esi
je 0x10070677
movsx ecx, word [esi + 0x56]
movsx eax, word [edx + 0x66]
add ecx, eax
jmp 0x1007067b
movsx ecx, word [edx + 0x66]
mov eax, dword [edi + 0x50]
mov dword [eax + 0x5c], ecx
mov eax, dword [edi + 0x50]
mov eax, dword [eax]
mov dword [ebp - 0x44], eax
test eax, eax
je 0x10070734
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10070714
cmp dword [ebp - 0x14], 0xf
lea ecx, [ebp - 0x28]
cmova ecx, dword [ebp - 0x28]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100706b0
sub ecx, edx
mov dword [ebp - 0x4c], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.1007fa59
push esi
mov edi, eax
push 0
push edi
call fcn.10081b50
cmp dword [ebp - 0x14], 0xf
lea edx, [ebp - 0x28]
push dword [ebp - 0x4c]
cmova edx, dword [ebp - 0x28]
lea esi, [edi + 0x20]
push edx
push esi
call fcn.100815d0
mov eax, dword [ebp - 0x4c]
add esp, 0x1c
mov ecx, dword [ebp - 0x44]
mov dword [edi + 4], esi
mov dword [edi + 0x14], eax
push edi
mov dword [edi + 0x18], 0x1f
call dword [0x100ae580]
push edi
call fcn.1007fa54
mov edi, dword [ebp - 0x8c]
add esp, 4
mov eax, dword [edi + 0x50]
mov esi, dword [eax]
test esi, esi
je 0x10070734
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10070734
push 1
mov ecx, esi
call dword [0x100ae54c]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x10070771
inc ecx
mov edx, eax
cmp ecx, 0x1000
jb 0x10070767
mov eax, dword [edx - 4]
add ecx, 0x23
sub edx, eax
mov dword [ebp - 0x44], eax
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x100707b8
mov eax, dword [ebp - 0x44]
push ecx
push eax
call fcn.1007fa46
add esp, 8
mov ecx, edi
call fcn.1006ee50
mov ecx, edi
call fcn.100707e0
mov esi, dword [edi + 0x1c]
test esi, esi
je 0x1007079d
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1007079d
push 1
mov ecx, esi
call dword [0x100ae54c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1007f9e5
mov esp, ebp
pop ebp
ret
call fcn.10084bdf
call fcn.10084bdf
call fcn.10084bdf
call fcn.10005100
call fcn.10084bdf
int3