Function at 0x10070f40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009f4c0
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 0x10070fa5
push 4
push esi
call edx
test eax, eax
jne 0x10070f9f
lea ecx, [esi + 0xd0]
mov dl, 2
call fcn.10018350
mov edx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov eax, dword [0x100ba9ac]
test eax, eax
je 0x10070fe5
mov ecx, dword [edi + 0x68]
cmp ecx, 1
jne 0x10070fbb
mov eax, dword [eax + 0x44]
jmp 0x10070fc3
cmp ecx, 2
jne 0x10070fe5
mov eax, dword [eax + 0x48]
cmp eax, dword [edi + 0x64]
jae 0x10070fe5
mov esi, dword [edi + 0x54]
test esi, esi
je 0x10070fe5
push 4
push esi
call edx
test eax, eax
jne 0x10070fe5
mov dl, 7
lea ecx, [esi + 0xd0]
call fcn.10018350
mov ecx, dword [edi + 0x60]
test ecx, ecx
jne 0x10070ff0
xor eax, eax
jmp 0x10071015
mov esi, dword [0x100ae4c0]
mov eax, 0x10624dd3
mul ecx
mov ecx, 0xd78ae8
shr edx, 6
imul eax, edx, 0x3e8
push eax
call fcn.10018420
mov ecx, eax
call esi
mov ecx, dword [edi + 0x60]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x4c], ecx
test eax, eax
je 0x100716cb
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 0x10071123
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 0x10071123
cmp byte [ebp - 0x45], 0x2d
jae 0x10071123
push 4
push 0xd78af0
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10071123
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 [0x100ae4c4]
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 0x1007112a
cmp dword [esi + 0x48], 0
mov dword [ebp - 0x50], esi
je 0x1007112a
push dword [edi + 0x60]
xor edx, edx
lea ecx, [ebp - 0x70]
push esi
call fcn.1000bc90
add esp, 8
lea ecx, [ebp - 0x40]
push eax
call fcn.10005130
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0xf
jbe 0x1007111e
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10071114
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10071e18
push ecx
push edx
call fcn.100810d6
add esp, 8
mov dword [ebp - 0x50], esi
jmp 0x1007117d
xor esi, esi
mov dword [ebp - 0x50], esi
jmp 0x1007112d
mov esi, dword [ebp - 0x50]
push dword [edi + 0x60]
mov edx, dword [ebp - 0x54]
lea ecx, [ebp - 0x70]
push 0
call fcn.1000bc90
add esp, 8
lea ecx, [ebp - 0x40]
push eax
call fcn.10005130
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0xf
jbe 0x1007117d
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10071173
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10071e1d
push ecx
push edx
call fcn.100810d6
add esp, 8
mov edx, dword [ebp - 0x54]
lea ecx, [ebp - 0x70]
push esi
call fcn.1000c050
add esp, 4
mov byte [ebp - 4], 1
mov edx, eax
mov ecx, dword [edi + 0x40]
call fcn.10018260
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0xf
jbe 0x100711d2
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100711c8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10071e22
push ecx
push edx
call fcn.100810d6
add esp, 8
mov eax, dword [edi + 0x68]
cmp eax, 1
jne 0x1007138d
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x88]
mov edx, dword [edi + 0x64]
call fcn.10013c00
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 0x10071283
nop dword [eax + eax]
mov ecx, eax
sub ecx, esi
cmp edx, ecx
jb 0x10071e27
mov eax, dword [ebp - 0x74]
sub eax, edx
cmp eax, 1
jb 0x10071258
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.10082c60
mov byte [esi], 0x2e
add esp, 0xc
mov esi, dword [ebp - 0x58]
jmp 0x1007126d
push 0x2e
push 1
push ecx
push dword [ebp - 0x44]
lea ecx, [ebp - 0x88]
push 1
call fcn.100045e0
mov eax, dword [ebp - 0x4c]
add esi, 4
inc eax
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x4c], eax
cmp eax, esi
jle 0x10071283
mov edx, dword [ebp - 0x78]
jmp 0x10071210
cmp dword [ebp - 0x74], 0xf
lea eax, [ebp - 0x88]
movaps xmm0, xmmword [0x100af930]
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 0x100712a6
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 0x100712d6
sub ecx, esi
lea eax, [ebp - 0x23]
push ecx
push eax
mov ecx, edx
call fcn.10002580
lea eax, [ebp - 0x70]
push eax
call fcn.1000a310
add esp, 0x20
mov byte [ebp - 4], 3
mov edx, eax
mov ecx, dword [edi + 0x44]
call fcn.10018260
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0xf
jbe 0x1007133d
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10071333
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10071e2c
push ecx
push edx
call fcn.100810d6
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 0x1007146b
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10071461
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10071e2c
jmp 0x10071461
cmp eax, 2
jne 0x1007146b
mov edx, dword [edi + 0x64]
lea ecx, [ebp - 0x88]
push 0x2e
call fcn.10013640
add esp, 4
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 0xf
jbe 0x100713b5
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 0x100713c7
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 0x100713f7
sub ecx, esi
lea eax, [ebp - 0x23]
push ecx
push eax
mov ecx, edx
call fcn.10002580
lea eax, [ebp - 0x70]
push eax
call fcn.1000a310
add esp, 0x20
mov byte [ebp - 4], 5
mov edx, eax
mov ecx, dword [edi + 0x44]
call fcn.10018260
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0xf
jbe 0x1007133d
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10071333
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10071e2c
jmp 0x10071333
push ecx
push edx
call fcn.100810d6
add esp, 8
mov edx, dword [edi + 0x6c]
lea ecx, [ebp - 0x88]
push 0x2e
call fcn.10013640
add esp, 4
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 0xf
jbe 0x1007148a
mov eax, dword [eax]
movaps xmm0, xmmword [0x100afaf0]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x24], xmm0
mov word [ebp - 0x14], 0x20
nop
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0x10
jb 0x100714a0
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 0x100714d0
sub ecx, esi
lea eax, [ebp - 0x23]
push ecx
push eax
mov ecx, edx
call fcn.10002580
lea eax, [ebp - 0x70]
push eax
call fcn.1000a310
add esp, 0x20
mov byte [ebp - 4], 7
mov edx, eax
mov ecx, dword [edi + 0x48]
call fcn.10018260
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0xf
jbe 0x10071537
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1007152d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10071e2c
push ecx
push edx
call fcn.100810d6
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 0x10071584
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1007157a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10071e2c
push ecx
push edx
call fcn.100810d6
add esp, 8
mov ecx, dword [edi + 0x50]
test ecx, ecx
je 0x1007168d
add ecx, 4
lea edx, [ebp - 0x40]
call fcn.100126c0
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 0x100715c6
movsx ecx, word [ecx + 0x56]
movsx eax, word [edx + 0x66]
add ecx, eax
jmp 0x100715ca
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 0x1007168d
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov esi, dword [ebp - 0x40]
test eax, eax
jne 0x10071667
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 0x10071600
sub ecx, edx
mov dword [ebp - 0x4c], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.100810e9
push esi
mov edi, eax
push 0
push edi
call fcn.100831e0
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.10082c60
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 [0x100ae548]
push edi
call fcn.100810e4
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 0x10071690
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10071690
mov ecx, dword [ebp - 0x44]
push 1
call dword [0x100ae514]
jmp 0x10071690
mov esi, dword [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2c]
cmp eax, 0xf
jbe 0x10071dd1
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x100716c4
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10071e18
push ecx
push esi
jmp 0x10071dc9
test ecx, ecx
je 0x10071dd1
cmp ecx, 0x5f5e100
jae 0x10071dd1
mov edx, dword [edi + 0x74]
sub edx, dword [edi + 0x70]
sar edx, 2
call fcn.100130c0
mov ecx, dword [edi + 0x70]
mov eax, dword [ecx + eax*4 - 4]
mov dword [ebp - 0x50], eax
test eax, eax
je 0x10071dd1
mov eax, dword [edi + 0x68]
cmp eax, 1
jne 0x1007182a
mov edx, dword [edi + 0x64]
lea ecx, [ebp - 0x88]
push 0x2e
call fcn.10013640
add esp, 4
mov dword [ebp - 4], 8
cmp dword [eax + 0x14], 0xf
jbe 0x1007172d
mov eax, dword [eax]
movaps xmm0, xmmword [0x100afac0]
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 0x10071740
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 0x10071770
sub ecx, esi
lea eax, [ebp - 0x23]
push ecx
push eax
mov ecx, edx
call fcn.10002580
lea eax, [ebp - 0x70]
push eax
call fcn.1000a310
add esp, 0x20
mov byte [ebp - 4], 9
mov edx, eax
mov ecx, dword [edi + 0x44]
call fcn.10018260
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0xf
jbe 0x100717d7
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100717cd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10071e2c
push ecx
push edx
call fcn.100810d6
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 0x1007194e
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10071944
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10071944
jmp 0x10071e2c
cmp eax, 2
jne 0x1007194e
mov edx, dword [edi + 0x64]
lea ecx, [ebp - 0x88]
push 0x2e
call fcn.10013640
add esp, 4
mov dword [ebp - 4], 0xa
cmp dword [eax + 0x14], 0xf
jbe 0x10071855
mov eax, dword [eax]
movaps xmm0, xmmword [0x100af0d0]
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 0x10071867
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 0x10071897
sub ecx, esi
lea eax, [ebp - 0x23]
push ecx
push eax
mov ecx, edx
call fcn.10002580
lea eax, [ebp - 0x70]
push eax
call fcn.1000a310
add esp, 0x20
mov byte [ebp - 4], 0xb
mov edx, eax
mov ecx, dword [edi + 0x44]
call fcn.10018260
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0xf
jbe 0x100718fe
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100718f4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10071e2c
push ecx
push edx
call fcn.100810d6
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 0x1007194e
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10071944
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10071e2c
push ecx
push edx
call fcn.100810d6
add esp, 8
mov edx, dword [edi + 0x6c]
lea ecx, [ebp - 0x88]
push 0x2e
call fcn.10013640
add esp, 4
mov dword [ebp - 4], 0xc
cmp dword [eax + 0x14], 0xf
jbe 0x10071970
mov eax, dword [eax]
movaps xmm0, xmmword [0x100af660]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x24], xmm0
mov word [ebp - 0x14], 1
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0x10
jb 0x10071984
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 0x100719b4
sub ecx, esi
lea eax, [ebp - 0x23]
push ecx
push eax
mov ecx, edx
call fcn.10002580
lea eax, [ebp - 0x70]
push eax
call fcn.1000a310
add esp, 0x20
mov byte [ebp - 4], 0xd
mov edx, eax
mov ecx, dword [edi + 0x48]
call fcn.10018260
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0xf
jbe 0x10071a1b
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10071a11
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10071e2c
push ecx
push edx
call fcn.100810d6
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 0x10071a6b
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10071a61
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10071e2c
push ecx
push edx
call fcn.100810d6
add esp, 8
mov esi, dword [0x100ae4c0]
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.10018420
mov ecx, eax
call esi
mov dword [ebp - 0x58], eax
test eax, eax
je 0x10071dd1
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 0x10071ba1
cmp cl, 0x2d
jae 0x10071ba1
push 4
push 0xd78af0
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10071ba1
sub esi, dword [ebp - 0x44]
movzx ecx, byte [ebp - 0x45]
mov edx, dword [0x100ae4c4]
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 0x10071ba6
cmp dword [eax + 0x48], 0
mov dword [ebp - 0x54], esi
je 0x10071ba6
push dword [ebp - 0x50]
xor edx, edx
lea ecx, [ebp - 0x70]
push eax
call fcn.1000bc90
add esp, 8
lea ecx, [ebp - 0x28]
push eax
call fcn.10005130
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0xf
jbe 0x10071b99
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10071b8f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10071e2c
push ecx
push edx
call fcn.100810d6
add esp, 8
mov esi, dword [ebp - 0x44]
mov dword [ebp - 0x54], esi
jmp 0x10071c08
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.1000bc90
add esp, 8
lea ecx, [ebp - 0x28]
push eax
call fcn.10005130
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x10071bf6
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10071bec
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10071e2c
push ecx
push edx
call fcn.100810d6
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 0x10071d97
lea eax, [ecx + 4]
mov dword [ebp - 0x44], eax
test eax, eax
je 0x10071cae
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10071cae
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 0x10071c43
sub ecx, edx
mov dword [ebp - 0x4c], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.100810e9
push esi
mov edi, eax
push 0
push edi
call fcn.100831e0
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.10082c60
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 [0x100ae4d8]
push edi
call fcn.100810e4
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 0x10071cd7
movsx ecx, word [esi + 0x56]
movsx eax, word [edx + 0x66]
add ecx, eax
jmp 0x10071cdb
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 0x10071d94
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10071d74
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 0x10071d10
sub ecx, edx
mov dword [ebp - 0x4c], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.100810e9
push esi
mov edi, eax
push 0
push edi
call fcn.100831e0
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.10082c60
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 [0x100ae548]
push edi
call fcn.100810e4
mov edi, dword [ebp - 0x8c]
add esp, 4
mov eax, dword [edi + 0x50]
mov esi, dword [eax]
test esi, esi
je 0x10071d94
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10071d94
push 1
mov ecx, esi
call dword [0x100ae514]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x10071dd1
inc ecx
mov edx, eax
cmp ecx, 0x1000
jb 0x10071dc7
mov eax, dword [edx - 4]
add ecx, 0x23
sub edx, eax
mov dword [ebp - 0x44], eax
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x10071e18
mov eax, dword [ebp - 0x44]
push ecx
push eax
call fcn.100810d6
add esp, 8
mov ecx, edi
call fcn.100704b0
mov ecx, edi
call fcn.10071e40
mov esi, dword [edi + 0x1c]
test esi, esi
je 0x10071dfd
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10071dfd
push 1
mov ecx, esi
call dword [0x100ae514]
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.10081075
mov esp, ebp
pop ebp
ret
call fcn.1008626f
call fcn.1008626f
call fcn.1008626f
call fcn.100045d0
call fcn.1008626f
int3