Function at 0x1006fca0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a3d50
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x100bd080]
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 0x1006fd05
push 4
push esi
call edx
test eax, eax
jne 0x1006fcff
lea ecx, [esi + 0xd0]
mov dl, 2
call fcn.10019640
mov edx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov eax, dword [0x100c0ac4]
test eax, eax
je 0x1006fd45
mov ecx, dword [edi + 0x68]
cmp ecx, 1
jne 0x1006fd1b
mov eax, dword [eax + 0x44]
jmp 0x1006fd23
cmp ecx, 2
jne 0x1006fd45
mov eax, dword [eax + 0x48]
cmp eax, dword [edi + 0x64]
jae 0x1006fd45
mov esi, dword [edi + 0x54]
test esi, esi
je 0x1006fd45
push 4
push esi
call edx
test eax, eax
jne 0x1006fd45
mov dl, 7
lea ecx, [esi + 0xd0]
call fcn.10019640
mov ecx, dword [edi + 0x60]
test ecx, ecx
jne 0x1006fd50
xor eax, eax
jmp 0x1006fd75
mov esi, dword [0x100b2e94]
mov eax, 0x10624dd3
mul ecx
mov ecx, 0xd78ae8
shr edx, 6
imul eax, edx, 0x3e8
push eax
call fcn.10019710
mov ecx, eax
call esi
mov ecx, dword [edi + 0x60]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x4c], ecx
test eax, eax
je 0x1007042b
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 0x1006fe83
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 0x1006fe83
cmp byte [ebp - 0x45], 0x2d
jae 0x1006fe83
push 4
push 0xd78af0
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1006fe83
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 [0x100b2e98]
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 0x1006fe8a
cmp dword [esi + 0x48], 0
mov dword [ebp - 0x50], esi
je 0x1006fe8a
push dword [edi + 0x60]
xor edx, edx
lea ecx, [ebp - 0x70]
push esi
call fcn.1000f650
add esp, 8
lea ecx, [ebp - 0x40]
push eax
call fcn.10004dd0
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0xf
jbe 0x1006fe7e
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006fe74
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10070b78
push ecx
push edx
call fcn.1007fa16
add esp, 8
mov dword [ebp - 0x50], esi
jmp 0x1006fedd
xor esi, esi
mov dword [ebp - 0x50], esi
jmp 0x1006fe8d
mov esi, dword [ebp - 0x50]
push dword [edi + 0x60]
mov edx, dword [ebp - 0x54]
lea ecx, [ebp - 0x70]
push 0
call fcn.1000f650
add esp, 8
lea ecx, [ebp - 0x40]
push eax
call fcn.10004dd0
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0xf
jbe 0x1006fedd
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006fed3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10070b7d
push ecx
push edx
call fcn.1007fa16
add esp, 8
mov edx, dword [ebp - 0x54]
lea ecx, [ebp - 0x70]
push esi
call fcn.1000fa10
add esp, 4
mov byte [ebp - 4], 1
mov edx, eax
mov ecx, dword [edi + 0x40]
call fcn.10019550
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0xf
jbe 0x1006ff32
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006ff28
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10070b82
push ecx
push edx
call fcn.1007fa16
add esp, 8
mov eax, dword [edi + 0x68]
cmp eax, 1
jne 0x100700ed
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x88]
mov edx, dword [edi + 0x64]
call fcn.100168d0
mov edx, dword [ebp - 0x78]
mov esi, 3
mov eax, edx
mov dword [ebp - 0x44], 0xd
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x58], esi
cmp eax, esi
jle 0x1006ffe3
nop dword [eax + eax]
mov ecx, eax
sub ecx, esi
cmp edx, ecx
jb 0x10070b87
mov eax, dword [ebp - 0x74]
sub eax, edx
cmp eax, 1
jb 0x1006ffb8
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.10081510
mov byte [esi], 0x2e
add esp, 0xc
mov esi, dword [ebp - 0x58]
jmp 0x1006ffcd
push 0x2e
push 1
push ecx
push dword [ebp - 0x44]
lea ecx, [ebp - 0x88]
push 1
call fcn.10007560
mov eax, dword [ebp - 0x4c]
add esi, 4
inc eax
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x4c], eax
cmp eax, esi
jle 0x1006ffe3
mov edx, dword [ebp - 0x78]
jmp 0x1006ff70
cmp dword [ebp - 0x74], 0xf
lea eax, [ebp - 0x88]
movaps xmm0, xmmword [0x100b42a0]
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 0x10070006
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 0x10070036
sub ecx, esi
lea eax, [ebp - 0x23]
push ecx
push eax
mov ecx, edx
call fcn.10002570
lea eax, [ebp - 0x70]
push eax
call fcn.1000dc10
add esp, 0x20
mov byte [ebp - 4], 3
mov edx, eax
mov ecx, dword [edi + 0x44]
call fcn.10019550
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0xf
jbe 0x1007009d
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10070093
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10070b8c
push ecx
push edx
call fcn.1007fa16
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 0x100701cb
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100701c1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10070b8c
jmp 0x100701c1
cmp eax, 2
jne 0x100701cb
mov edx, dword [edi + 0x64]
lea ecx, [ebp - 0x88]
push 0x2e
call fcn.100164d0
add esp, 4
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 0xf
jbe 0x10070115
mov eax, dword [eax]
movaps xmm0, xmmword [0x100b3f60]
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 0x10070127
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 0x10070157
sub ecx, esi
lea eax, [ebp - 0x23]
push ecx
push eax
mov ecx, edx
call fcn.10002570
lea eax, [ebp - 0x70]
push eax
call fcn.1000dc10
add esp, 0x20
mov byte [ebp - 4], 5
mov edx, eax
mov ecx, dword [edi + 0x44]
call fcn.10019550
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0xf
jbe 0x1007009d
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10070093
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10070b8c
jmp 0x10070093
push ecx
push edx
call fcn.1007fa16
add esp, 8
mov edx, dword [edi + 0x6c]
lea ecx, [ebp - 0x88]
push 0x2e
call fcn.100164d0
add esp, 4
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 0xf
jbe 0x100701ea
mov eax, dword [eax]
movaps xmm0, xmmword [0x100b3e60]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x24], xmm0
mov word [ebp - 0x14], 0x68
nop
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0x10
jb 0x10070200
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 0x10070230
sub ecx, esi
lea eax, [ebp - 0x23]
push ecx
push eax
mov ecx, edx
call fcn.10002570
lea eax, [ebp - 0x70]
push eax
call fcn.1000dc10
add esp, 0x20
mov byte [ebp - 4], 7
mov edx, eax
mov ecx, dword [edi + 0x48]
call fcn.10019550
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0xf
jbe 0x10070297
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1007028d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10070b8c
push ecx
push edx
call fcn.1007fa16
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 0x100702e4
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100702da
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10070b8c
push ecx
push edx
call fcn.1007fa16
add esp, 8
mov ecx, dword [edi + 0x50]
test ecx, ecx
je 0x100703ed
add ecx, 4
lea edx, [ebp - 0x40]
call fcn.10015610
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 0x10070326
movsx ecx, word [ecx + 0x56]
movsx eax, word [edx + 0x66]
add ecx, eax
jmp 0x1007032a
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 0x100703ed
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov esi, dword [ebp - 0x40]
test eax, eax
jne 0x100703c7
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 0x10070360
sub ecx, edx
mov dword [ebp - 0x4c], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.1007fd43
push esi
mov edi, eax
push 0
push edi
call fcn.10081a90
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.10081510
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 [0x100b2f10]
push edi
call fcn.1007fd3e
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 0x100703f0
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100703f0
mov ecx, dword [ebp - 0x44]
push 1
call dword [0x100b2edc]
jmp 0x100703f0
mov esi, dword [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2c]
cmp eax, 0xf
jbe 0x10070b31
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x10070424
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10070b78
push ecx
push esi
jmp 0x10070b29
test ecx, ecx
je 0x10070b31
cmp ecx, 0x5f5e100
jae 0x10070b31
mov edx, dword [edi + 0x74]
sub edx, dword [edi + 0x70]
sar edx, 2
call fcn.10015fd0
mov ecx, dword [edi + 0x70]
mov eax, dword [ecx + eax*4 - 4]
mov dword [ebp - 0x50], eax
test eax, eax
je 0x10070b31
mov eax, dword [edi + 0x68]
cmp eax, 1
jne 0x1007058a
mov edx, dword [edi + 0x64]
lea ecx, [ebp - 0x88]
push 0x2e
call fcn.100164d0
add esp, 4
mov dword [ebp - 4], 8
cmp dword [eax + 0x14], 0xf
jbe 0x1007048d
mov eax, dword [eax]
movaps xmm0, xmmword [0x100b3b80]
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 0x100704a0
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 0x100704d0
sub ecx, esi
lea eax, [ebp - 0x23]
push ecx
push eax
mov ecx, edx
call fcn.10002570
lea eax, [ebp - 0x70]
push eax
call fcn.1000dc10
add esp, 0x20
mov byte [ebp - 4], 9
mov edx, eax
mov ecx, dword [edi + 0x44]
call fcn.10019550
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0xf
jbe 0x10070537
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1007052d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10070b8c
push ecx
push edx
call fcn.1007fa16
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 0x100706ae
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100706a4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100706a4
jmp 0x10070b8c
cmp eax, 2
jne 0x100706ae
mov edx, dword [edi + 0x64]
lea ecx, [ebp - 0x88]
push 0x2e
call fcn.100164d0
add esp, 4
mov dword [ebp - 4], 0xa
cmp dword [eax + 0x14], 0xf
jbe 0x100705b5
mov eax, dword [eax]
movaps xmm0, xmmword [0x100b4040]
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 0x100705c7
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 0x100705f7
sub ecx, esi
lea eax, [ebp - 0x23]
push ecx
push eax
mov ecx, edx
call fcn.10002570
lea eax, [ebp - 0x70]
push eax
call fcn.1000dc10
add esp, 0x20
mov byte [ebp - 4], 0xb
mov edx, eax
mov ecx, dword [edi + 0x44]
call fcn.10019550
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0xf
jbe 0x1007065e
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10070654
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10070b8c
push ecx
push edx
call fcn.1007fa16
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 0x100706ae
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100706a4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10070b8c
push ecx
push edx
call fcn.1007fa16
add esp, 8
mov edx, dword [edi + 0x6c]
lea ecx, [ebp - 0x88]
push 0x2e
call fcn.100164d0
add esp, 4
mov dword [ebp - 4], 0xc
cmp dword [eax + 0x14], 0xf
jbe 0x100706d0
mov eax, dword [eax]
movaps xmm0, xmmword [0x100b4290]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x24], xmm0
mov word [ebp - 0x14], 0xd
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0x10
jb 0x100706e4
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 0x10070714
sub ecx, esi
lea eax, [ebp - 0x23]
push ecx
push eax
mov ecx, edx
call fcn.10002570
lea eax, [ebp - 0x70]
push eax
call fcn.1000dc10
add esp, 0x20
mov byte [ebp - 4], 0xd
mov edx, eax
mov ecx, dword [edi + 0x48]
call fcn.10019550
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0xf
jbe 0x1007077b
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10070771
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10070b8c
push ecx
push edx
call fcn.1007fa16
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 0x100707cb
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100707c1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10070b8c
push ecx
push edx
call fcn.1007fa16
add esp, 8
mov esi, dword [0x100b2e94]
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.10019710
mov ecx, eax
call esi
mov dword [ebp - 0x58], eax
test eax, eax
je 0x10070b31
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 0x10070901
cmp cl, 0x2d
jae 0x10070901
push 4
push 0xd78af0
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10070901
sub esi, dword [ebp - 0x44]
movzx ecx, byte [ebp - 0x45]
mov edx, dword [0x100b2e98]
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 0x10070906
cmp dword [eax + 0x48], 0
mov dword [ebp - 0x54], esi
je 0x10070906
push dword [ebp - 0x50]
xor edx, edx
lea ecx, [ebp - 0x70]
push eax
call fcn.1000f650
add esp, 8
lea ecx, [ebp - 0x28]
push eax
call fcn.10004dd0
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0xf
jbe 0x100708f9
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100708ef
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10070b8c
push ecx
push edx
call fcn.1007fa16
add esp, 8
mov esi, dword [ebp - 0x44]
mov dword [ebp - 0x54], esi
jmp 0x10070968
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.1000f650
add esp, 8
lea ecx, [ebp - 0x28]
push eax
call fcn.10004dd0
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x10070956
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1007094c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10070b8c
push ecx
push edx
call fcn.1007fa16
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 0x10070af7
lea eax, [ecx + 4]
mov dword [ebp - 0x44], eax
test eax, eax
je 0x10070a0e
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10070a0e
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 0x100709a3
sub ecx, edx
mov dword [ebp - 0x4c], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.1007fd43
push esi
mov edi, eax
push 0
push edi
call fcn.10081a90
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.10081510
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 [0x100b2ea0]
push edi
call fcn.1007fd3e
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 0x10070a37
movsx ecx, word [esi + 0x56]
movsx eax, word [edx + 0x66]
add ecx, eax
jmp 0x10070a3b
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 0x10070af4
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10070ad4
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 0x10070a70
sub ecx, edx
mov dword [ebp - 0x4c], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.1007fd43
push esi
mov edi, eax
push 0
push edi
call fcn.10081a90
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.10081510
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 [0x100b2f10]
push edi
call fcn.1007fd3e
mov edi, dword [ebp - 0x8c]
add esp, 4
mov eax, dword [edi + 0x50]
mov esi, dword [eax]
test esi, esi
je 0x10070af4
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10070af4
push 1
mov ecx, esi
call dword [0x100b2edc]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x10070b31
inc ecx
mov edx, eax
cmp ecx, 0x1000
jb 0x10070b27
mov eax, dword [edx - 4]
add ecx, 0x23
sub edx, eax
mov dword [ebp - 0x44], eax
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x10070b78
mov eax, dword [ebp - 0x44]
push ecx
push eax
call fcn.1007fa16
add esp, 8
mov ecx, edi
call fcn.1006f210
mov ecx, edi
call fcn.10070ba0
mov esi, dword [edi + 0x1c]
test esi, esi
je 0x10070b5d
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10070b5d
push 1
mov ecx, esi
call dword [0x100b2edc]
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.1007f9b5
mov esp, ebp
pop ebp
ret
call fcn.10084b1f
call fcn.10084b1f
call fcn.10084b1f
call fcn.100068f0
call fcn.10084b1f
int3