Function at 0x1003a130
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100709a0
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x10083040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x68], 0
lea ecx, [ebp - 0x2b]
xorps xmm0, xmm0
mov word [ebp - 0x2c], 0x52
mov byte [ebp - 0x2b], 0
lea edx, [ecx + 1]
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003a190
sub ecx, edx
lea eax, [ebp - 0x2b]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.10002130
mov dword [ebp - 4], 0
mov edi, dword [esi + 0x3c]
test edi, edi
je 0x1003a1cd
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003a1cd
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call dword [0x1007acbc]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x1003a208
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003a1fe
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003b27b
push ecx
push edx
call fcn.1004d526
add esp, 8
xorps xmm0, xmm0
mov word [ebp - 0x2c], 0x17
lea ecx, [ebp - 0x2b]
mov byte [ebp - 0x2b], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x14], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003a230
sub ecx, edx
lea eax, [ebp - 0x2b]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.10002130
mov dword [ebp - 4], 1
mov edi, dword [esi + 0x40]
test edi, edi
je 0x1003a26d
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003a26d
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call dword [0x1007acbc]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x1003a2a8
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003a29e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003b280
push ecx
push edx
call fcn.1004d526
add esp, 8
xorps xmm0, xmm0
mov word [ebp - 0x2c], 0x77
lea ecx, [ebp - 0x2b]
mov byte [ebp - 0x2b], 0
movups xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0x54], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x50], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003a2d0
sub ecx, edx
lea eax, [ebp - 0x2b]
push ecx
push eax
lea ecx, [ebp - 0x64]
call fcn.10002130
mov dword [ebp - 4], 2
mov edi, dword [esi + 0x44]
test edi, edi
je 0x1003a30d
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003a30d
lea eax, [ebp - 0x64]
mov ecx, edi
push eax
call dword [0x1007ac8c]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x50]
cmp ecx, 0xf
jbe 0x1003a348
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003a33e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003b285
push ecx
push edx
call fcn.1004d526
add esp, 8
mov edi, dword [esi + 0x34]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], 0
test edi, edi
je 0x1003a37b
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003a37b
lea ecx, [edi + 0xb8]
mov dl, 2
call fcn.10011330
mov eax, dword [0x10088030]
test eax, eax
je 0x1003a3bf
mov ecx, dword [esi + 0x30]
cmp ecx, 1
jne 0x1003a391
mov eax, dword [eax + 0x4c]
jmp 0x1003a399
cmp ecx, 2
jne 0x1003a3bf
mov eax, dword [eax + 0x50]
cmp eax, dword [esi + 0x2c]
jae 0x1003a3bf
mov edi, dword [esi + 0x34]
test edi, edi
je 0x1003a3bf
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003a3bf
mov dl, 7
lea ecx, [edi + 0xb8]
call fcn.10011330
mov edx, dword [esi + 0x24]
test edx, edx
jne 0x1003a3ca
xor eax, eax
jmp 0x1003a3e3
mov ecx, dword [0x1007ac0c]
mov eax, 0x10624dd3
mul edx
shr edx, 6
imul eax, edx, 0x3e8
push eax
call ecx
mov ecx, dword [esi + 0x24]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
test eax, eax
je 0x1003ab1d
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 3
cmp dword [eax], 0
je 0x1003a4fd
test ecx, ecx
je 0x1003a4fd
mov eax, 0x12e0be83
mov edi, ecx
mul ecx
sub edi, edx
shr edi, 1
add edi, edx
shr edi, 0x1d
cmp edi, 4
jae 0x1003a4fd
mov eax, dword [ebp - 0x2c]
cmp byte [eax + 4], 0x2d
jae 0x1003a4fd
push 4
push 0x10b8050
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003a4fd
mov eax, 0x10624dd3
mov esi, dword [0x1007ac10]
mul dword [ebp - 0x30]
shr edx, 6
sub edi, edx
imul eax, edi, 0x3e8
add eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x2c]
movzx ecx, byte [eax + 4]
mov ecx, dword [ecx*4 + 0x10b8050]
call esi
mov esi, dword [ebp - 0x34]
mov edi, eax
mov dword [ebp - 0x30], eax
test eax, eax
je 0x1003a4ff
cmp dword [eax + 0x3c], 0
je 0x1003a4ff
push dword [esi + 0x24]
xor edx, edx
lea ecx, [ebp - 0x98]
push eax
call fcn.1000af80
add esp, 8
lea ecx, [ebp - 0x28]
push eax
call fcn.10007470
mov ecx, dword [ebp - 0x84]
cmp ecx, 0xf
jbe 0x1003a4f8
mov edx, dword [ebp - 0x98]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003a4ee
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003b28a
push ecx
push edx
call fcn.1004d526
add esp, 8
mov edi, dword [ebp - 0x30]
jmp 0x1003a558
xor edi, edi
push dword [esi + 0x24]
mov edx, dword [ebp - 0x2c]
lea ecx, [ebp - 0x98]
push 0
call fcn.1000af80
add esp, 8
lea ecx, [ebp - 0x28]
push eax
call fcn.10007470
mov ecx, dword [ebp - 0x84]
cmp ecx, 0xf
jbe 0x1003a558
mov edx, dword [ebp - 0x98]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003a54e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003b28f
push ecx
push edx
call fcn.1004d526
add esp, 8
mov eax, dword [esi + 0x44]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x1003a57c
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003a57c
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x28]
push eax
call dword [0x1007ac8c]
mov edx, dword [ebp - 0x2c]
lea ecx, [ebp - 0x98]
push edi
call fcn.1000b330
add esp, 4
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 4
mov edi, dword [esi + 0x38]
test edi, edi
je 0x1003a5b4
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003a5b4
push dword [ebp - 0x30]
mov ecx, edi
call dword [0x1007acbc]
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x84]
cmp ecx, 0xf
jbe 0x1003a5f2
mov edx, dword [ebp - 0x98]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003a5e8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003b294
push ecx
push edx
call fcn.1004d526
add esp, 8
mov eax, dword [esi + 0x30]
cmp eax, 1
jne 0x1003a7b3
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x4c]
mov edx, dword [esi + 0x2c]
call fcn.1000f7b0
mov edx, dword [ebp - 0x3c]
mov eax, 3
mov edi, edx
mov dword [ebp - 0x68], 2
mov dword [ebp - 0x2c], eax
cmp edi, eax
jle 0x1003a68e
mov ecx, edi
sub ecx, eax
cmp edx, ecx
jb 0x1003b29e
mov esi, dword [ebp - 0x38]
mov eax, esi
sub eax, edx
cmp eax, 1
jb 0x1003a666
lea eax, [edx + 1]
cmp esi, 0xf
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x4c]
cmova eax, dword [ebp - 0x4c]
sub edx, ecx
inc edx
push edx
lea esi, [eax + ecx]
lea eax, [esi + 1]
push esi
push eax
call fcn.1004f0c0
add esp, 0xc
mov byte [esi], 0x2e
jmp 0x1003a678
push 0x2e
push 1
push ecx
push dword [ebp - 0x30]
lea ecx, [ebp - 0x4c]
push 1
call fcn.100083b0
mov eax, dword [ebp - 0x2c]
inc edi
add eax, 4
mov dword [ebp - 0x2c], eax
cmp edi, eax
jle 0x1003a68b
mov edx, dword [ebp - 0x3c]
jmp 0x1003a625
mov esi, dword [ebp - 0x34]
cmp dword [ebp - 0x38], 0xf
lea eax, [ebp - 0x4c]
movaps xmm0, xmmword [str.wWZW_4W]
cmova eax, dword [ebp - 0x4c]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x60], xmm0
mov byte [ebp - 0x50], 0
nop dword [eax + eax]
mov al, byte [ebp - 0x60]
xor byte [ebp + ecx - 0x5f], al
inc ecx
cmp ecx, 0xf
jb 0x1003a6b0
sub esp, 0x18
mov byte [ebp - 0x50], 0
mov edx, esp
lea ecx, [ebp - 0x5f]
xorps xmm0, xmm0
lea edi, [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 0x1003a6e0
sub ecx, edi
lea eax, [ebp - 0x5f]
push ecx
push eax
mov ecx, edx
call fcn.10002130
lea eax, [ebp - 0x80]
push eax
call fcn.1000bae0
add esp, 0x20
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 6
mov edi, dword [esi + 0x3c]
test edi, edi
je 0x1003a727
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003a727
push dword [ebp - 0x30]
mov ecx, edi
call dword [0x1007acbc]
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x6c]
cmp ecx, 0xf
jbe 0x1003a75f
mov edx, dword [ebp - 0x80]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003a755
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003b299
push ecx
push edx
call fcn.1004d526
add esp, 8
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], 0
mov dword [ebp - 0x68], 0
cmp ecx, 0xf
jbe 0x1003a92c
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003a922
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003b299
jmp 0x1003a922
cmp eax, 2
jne 0x1003a92c
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x4c]
mov edx, dword [esi + 0x2c]
call fcn.1000f7b0
mov edx, dword [ebp - 0x3c]
mov eax, 3
mov edi, edx
mov dword [ebp - 0x68], 4
mov dword [ebp - 0x2c], eax
cmp edi, eax
jle 0x1003a84c
mov ecx, edi
sub ecx, eax
cmp edx, ecx
jb 0x1003b29e
mov esi, dword [ebp - 0x38]
mov eax, esi
sub eax, edx
cmp eax, 1
jb 0x1003a824
lea eax, [edx + 1]
cmp esi, 0xf
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x4c]
cmova eax, dword [ebp - 0x4c]
sub edx, ecx
inc edx
push edx
lea esi, [eax + ecx]
lea eax, [esi + 1]
push esi
push eax
call fcn.1004f0c0
add esp, 0xc
mov byte [esi], 0x2e
jmp 0x1003a836
push 0x2e
push 1
push ecx
push dword [ebp - 0x30]
lea ecx, [ebp - 0x4c]
push 1
call fcn.100083b0
mov eax, dword [ebp - 0x2c]
inc edi
add eax, 4
mov dword [ebp - 0x2c], eax
cmp edi, eax
jle 0x1003a849
mov edx, dword [ebp - 0x3c]
jmp 0x1003a7e3
mov esi, dword [ebp - 0x34]
cmp dword [ebp - 0x38], 0xf
lea eax, [ebp - 0x4c]
movaps xmm0, xmmword [0x1007c590]
cmova eax, dword [ebp - 0x4c]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x60], xmm0
mov byte [ebp - 0x50], 0
nop dword [eax]
mov al, byte [ebp - 0x60]
xor byte [ebp + ecx - 0x5f], al
inc ecx
cmp ecx, 0xf
jb 0x1003a870
sub esp, 0x18
mov byte [ebp - 0x50], 0
mov edx, esp
lea ecx, [ebp - 0x5f]
xorps xmm0, xmm0
lea edi, [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 0x1003a8a0
sub ecx, edi
lea eax, [ebp - 0x5f]
push ecx
push eax
mov ecx, edx
call fcn.10002130
lea eax, [ebp - 0x80]
push eax
call fcn.1000bae0
add esp, 0x20
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 8
mov edi, dword [esi + 0x3c]
test edi, edi
je 0x1003a8e7
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003a8e7
push dword [ebp - 0x30]
mov ecx, edi
call dword [0x1007acbc]
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x6c]
cmp ecx, 0xf
jbe 0x1003a75f
mov edx, dword [ebp - 0x80]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003a755
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003b299
jmp 0x1003a755
push ecx
push edx
call fcn.1004d526
add esp, 8
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x4c]
mov edx, dword [esi + 0x28]
call fcn.1000f7b0
mov edx, dword [ebp - 0x3c]
mov eax, 3
mov edi, edx
mov dword [ebp - 0x68], 1
mov dword [ebp - 0x2c], eax
cmp edi, eax
jle 0x1003a9bc
mov ecx, edi
sub ecx, eax
cmp edx, ecx
jb 0x1003b29e
mov esi, dword [ebp - 0x38]
mov eax, esi
sub eax, edx
cmp eax, 1
jb 0x1003a994
lea eax, [edx + 1]
cmp esi, 0xf
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x4c]
cmova eax, dword [ebp - 0x4c]
sub edx, ecx
inc edx
push edx
lea esi, [eax + ecx]
lea eax, [esi + 1]
push esi
push eax
call fcn.1004f0c0
add esp, 0xc
mov byte [esi], 0x2e
jmp 0x1003a9a6
push 0x2e
push 1
push ecx
push dword [ebp - 0x30]
lea ecx, [ebp - 0x4c]
push 1
call fcn.100083b0
mov eax, dword [ebp - 0x2c]
inc edi
add eax, 4
mov dword [ebp - 0x2c], eax
cmp edi, eax
jle 0x1003a9b9
mov edx, dword [ebp - 0x3c]
jmp 0x1003a953
mov esi, dword [ebp - 0x34]
cmp dword [ebp - 0x38], 0xf
lea eax, [ebp - 0x4c]
movaps xmm0, xmmword [0x1007c1b0]
cmova eax, dword [ebp - 0x4c]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x60], xmm0
mov word [ebp - 0x50], 0x79
nop dword [eax + eax]
mov al, byte [ebp - 0x60]
xor byte [ebp + ecx - 0x5f], al
inc ecx
cmp ecx, 0x10
jb 0x1003a9e0
sub esp, 0x18
mov byte [ebp - 0x4f], 0
mov edx, esp
lea ecx, [ebp - 0x5f]
xorps xmm0, xmm0
lea edi, [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 0x1003aa10
sub ecx, edi
lea eax, [ebp - 0x5f]
push ecx
push eax
mov ecx, edx
call fcn.10002130
lea eax, [ebp - 0x80]
push eax
call fcn.1000bae0
add esp, 0x20
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 0xa
mov edi, dword [esi + 0x40]
test edi, edi
je 0x1003aa57
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003aa57
push dword [ebp - 0x30]
mov ecx, edi
call dword [0x1007acbc]
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x6c]
cmp ecx, 0xf
jbe 0x1003aa8f
mov edx, dword [ebp - 0x80]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003aa85
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003b299
push ecx
push edx
call fcn.1004d526
add esp, 8
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], 0
cmp ecx, 0xf
jbe 0x1003aad9
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003aacf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003b299
push ecx
push edx
call fcn.1004d526
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x1003b1f8
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003ab0e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003b299
push ecx
push edx
call fcn.1004d526
add esp, 8
jmp 0x1003b1f8
lea eax, [ecx - 1]
cmp eax, 0x5f5e0fe
ja 0x1003b1f8
mov edx, dword [esi + 0x54]
sub edx, dword [esi + 0x50]
sar edx, 2
call fcn.1000ed00
mov ecx, dword [esi + 0x50]
mov edi, dword [ecx + eax*4 - 4]
test edi, edi
je 0x1003acbd
mov ecx, dword [0x1007ac0c]
mov eax, 0x10624dd3
mul edi
mov eax, edx
shr eax, 6
mov dword [ebp - 0x30], eax
imul eax, eax, 0x3e8
push eax
call ecx
mov ecx, eax
mov dword [ebp - 0x2c], ecx
test ecx, ecx
je 0x1003acbd
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 0xb
cmp dword [ecx], 0
je 0x1003ae05
mov eax, 0x12e0be83
mov esi, edi
mul edi
sub esi, edx
shr esi, 1
add esi, edx
shr esi, 0x1d
cmp esi, 4
jae 0x1003ae02
cmp byte [ecx + 4], 0x2d
jae 0x1003ae02
push 4
push 0x10b8050
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003adff
sub esi, dword [ebp - 0x30]
mov edx, dword [0x1007ac10]
imul eax, esi, 0x3e8
add eax, edi
push eax
mov eax, dword [ebp - 0x2c]
movzx ecx, byte [eax + 4]
mov ecx, dword [ecx*4 + 0x10b8050]
call edx
test eax, eax
je 0x1003adff
cmp dword [eax + 0x3c], 0
je 0x1003adff
push edi
push eax
xor edx, edx
lea ecx, [ebp - 0x98]
call fcn.1000af80
add esp, 8
lea ecx, [ebp - 0x28]
push eax
call fcn.10007470
mov ecx, dword [ebp - 0x84]
cmp ecx, 0xf
jbe 0x1003ac5f
mov edx, dword [ebp - 0x98]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003ac55
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003b299
push ecx
push edx
call fcn.1004d526
add esp, 8
mov esi, dword [ebp - 0x34]
mov edi, dword [esi + 0x44]
test edi, edi
je 0x1003ac82
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003ac82
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call dword [0x1007ac8c]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x1003acbd
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003acb3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003b299
push ecx
push edx
call fcn.1004d526
add esp, 8
mov eax, dword [esi + 0x30]
cmp eax, 1
jne 0x1003ae64
mov edx, dword [esi + 0x2c]
push ecx
lea ecx, [ebp - 0x28]
call fcn.1000f230
add esp, 4
mov dword [ebp - 4], 0xc
cmp dword [eax + 0x14], 0xf
jbe 0x1003ace7
mov eax, dword [eax]
movaps xmm0, xmmword [0x1007c3c0]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x60], xmm0
mov byte [ebp - 0x50], 0
nop dword [eax]
mov al, byte [ebp - 0x60]
xor byte [ebp + ecx - 0x5f], al
inc ecx
cmp ecx, 0xf
jb 0x1003ad00
sub esp, 0x18
mov byte [ebp - 0x50], 0
mov edx, esp
lea ecx, [ebp - 0x5f]
xorps xmm0, xmm0
lea edi, [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 0x1003ad30
sub ecx, edi
lea eax, [ebp - 0x5f]
push ecx
push eax
mov ecx, edx
call fcn.10002130
lea eax, [ebp - 0x80]
push eax
call fcn.1000bae0
add esp, 0x20
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 0xd
mov edi, dword [esi + 0x3c]
test edi, edi
je 0x1003ad77
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003ad77
push dword [ebp - 0x30]
mov ecx, edi
call dword [0x1007acbc]
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x6c]
cmp ecx, 0xf
jbe 0x1003adaf
mov edx, dword [ebp - 0x80]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003ada5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003b299
push ecx
push edx
call fcn.1004d526
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], 0
cmp ecx, 0xf
jbe 0x1003b023
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003b019
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1003b019
jmp 0x1003b299
mov ecx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x34]
push edi
mov edx, ecx
lea ecx, [ebp - 0x98]
push 0
call fcn.1000af80
add esp, 8
lea ecx, [ebp - 0x28]
push eax
call fcn.10007470
mov ecx, dword [ebp - 0x84]
cmp ecx, 0xf
jbe 0x1003ac62
mov edx, dword [ebp - 0x98]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003ae55
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003b299
push ecx
push edx
call fcn.1004d526
add esp, 8
jmp 0x1003ac62
cmp eax, 2
jne 0x1003b023
mov dword [ebp - 4], 0xe
lea ecx, [ebp - 0x4c]
mov edx, dword [esi + 0x2c]
call fcn.1000f7b0
mov edx, dword [ebp - 0x3c]
mov eax, 3
mov edi, edx
mov dword [ebp - 0x68], 0x10
mov dword [ebp - 0x2c], eax
cmp edi, eax
jle 0x1003af00
mov ecx, edi
sub ecx, eax
cmp edx, ecx
jb 0x1003b29e
mov esi, dword [ebp - 0x38]
mov eax, esi
sub eax, edx
cmp eax, 1
jb 0x1003aed8
lea eax, [edx + 1]
cmp esi, 0xf
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x4c]
cmova eax, dword [ebp - 0x4c]
sub edx, ecx
inc edx
push edx
lea esi, [eax + ecx]
lea eax, [esi + 1]
push esi
push eax
call fcn.1004f0c0
add esp, 0xc
mov byte [esi], 0x2e
jmp 0x1003aeea
push 0x2e
push 1
push ecx
push dword [ebp - 0x30]
lea ecx, [ebp - 0x4c]
push 1
call fcn.100083b0
mov eax, dword [ebp - 0x2c]
inc edi
add eax, 4
mov dword [ebp - 0x2c], eax
cmp edi, eax
jle 0x1003aefd
mov edx, dword [ebp - 0x3c]
jmp 0x1003ae97
mov esi, dword [ebp - 0x34]
cmp dword [ebp - 0x38], 0xf
lea eax, [ebp - 0x4c]
movaps xmm0, xmmword [0x1007bfa0]
cmova eax, dword [ebp - 0x4c]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x60], xmm0
mov byte [ebp - 0x50], 0
nop dword [eax]
mov al, byte [ebp - 0x60]
xor byte [ebp + ecx - 0x5f], al
inc ecx
cmp ecx, 0xf
jb 0x1003af20
sub esp, 0x18
mov byte [ebp - 0x50], 0
mov edx, esp
lea ecx, [ebp - 0x5f]
xorps xmm0, xmm0
lea edi, [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 0x1003af50
sub ecx, edi
lea eax, [ebp - 0x5f]
push ecx
push eax
mov ecx, edx
call fcn.10002130
lea eax, [ebp - 0x80]
push eax
call fcn.1000bae0
add esp, 0x20
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 0xf
mov edi, dword [esi + 0x3c]
test edi, edi
je 0x1003af97
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003af97
push dword [ebp - 0x30]
mov ecx, edi
call dword [0x1007acbc]
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x6c]
cmp ecx, 0xf
jbe 0x1003afcf
mov edx, dword [ebp - 0x80]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003afc5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003b299
push ecx
push edx
call fcn.1004d526
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], 0
mov dword [ebp - 0x68], 0
cmp ecx, 0xf
jbe 0x1003b023
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003b019
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003b299
push ecx
push edx
call fcn.1004d526
add esp, 8
mov dword [ebp - 4], 0x10
lea ecx, [ebp - 0x4c]
mov edx, dword [esi + 0x28]
call fcn.1000f7b0
mov edx, dword [ebp - 0x3c]
mov eax, 3
mov edi, edx
mov dword [ebp - 0x68], 8
mov dword [ebp - 0x2c], eax
cmp edi, eax
jle 0x1003b0b9
nop dword [eax]
mov ecx, edi
sub ecx, eax
cmp edx, ecx
jb 0x1003b29e
mov esi, dword [ebp - 0x38]
mov eax, esi
sub eax, edx
cmp eax, 1
jb 0x1003b091
lea eax, [edx + 1]
cmp esi, 0xf
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x4c]
cmova eax, dword [ebp - 0x4c]
sub edx, ecx
inc edx
push edx
lea esi, [eax + ecx]
lea eax, [esi + 1]
push esi
push eax
call fcn.1004f0c0
add esp, 0xc
mov byte [esi], 0x2e
jmp 0x1003b0a3
push 0x2e
push 1
push ecx
push dword [ebp - 0x30]
lea ecx, [ebp - 0x4c]
push 1
call fcn.100083b0
mov eax, dword [ebp - 0x2c]
inc edi
add eax, 4
mov dword [ebp - 0x2c], eax
cmp edi, eax
jle 0x1003b0b6
mov edx, dword [ebp - 0x3c]
jmp 0x1003b050
mov esi, dword [ebp - 0x34]
cmp dword [ebp - 0x38], 0xf
lea eax, [ebp - 0x4c]
movaps xmm0, xmmword [0x1007c6b0]
cmova eax, dword [ebp - 0x4c]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x60], xmm0
mov word [ebp - 0x50], 0x3d
mov al, byte [ebp - 0x60]
xor byte [ebp + ecx - 0x5f], al
inc ecx
cmp ecx, 0x10
jb 0x1003b0d8
sub esp, 0x18
mov byte [ebp - 0x4f], 0
mov edx, esp
lea ecx, [ebp - 0x5f]
xorps xmm0, xmm0
lea edi, [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 0x1003b108
sub ecx, edi
lea eax, [ebp - 0x5f]
push ecx
push eax
mov ecx, edx
call fcn.10002130
lea eax, [ebp - 0x98]
push eax
call fcn.1000bae0
add esp, 0x20
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 0x11
mov edi, dword [esi + 0x40]
test edi, edi
je 0x1003b152
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003b152
push dword [ebp - 0x30]
mov ecx, edi
call dword [0x1007acbc]
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x84]
cmp ecx, 0xf
jbe 0x1003b190
mov edx, dword [ebp - 0x98]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003b186
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003b299
push ecx
push edx
call fcn.1004d526
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0xf
mov byte [ebp - 0x98], 0
cmp ecx, 0xf
jbe 0x1003b1e6
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003b1dc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003b299
push ecx
push edx
call fcn.1004d526
add esp, 8
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
mov edi, dword [esi + 0xfc]
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003b242
push 4
add edi, 0xe5
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003b242
cmp byte [edi], al
je 0x1003b242
mov edi, dword [esi + 0xfc]
test edi, edi
je 0x1003b242
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003b242
push eax
mov ecx, edi
call dword [0x1007ac58]
mov esi, dword [esi + 0x34]
test esi, esi
je 0x1003b260
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003b260
push 1
mov ecx, esi
call dword [0x1007ac58]
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.1004d4c5
mov esp, ebp
pop ebp
ret
call fcn.100527f4
call fcn.100527f4
call fcn.100527f4
call fcn.100527f4
call fcn.100527f4
call fcn.100527f4
call fcn.100527f4
call fcn.100074f0
int3