Function at 0x1003a1a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006d60e
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x10080040]
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 - 0x4c], esi
mov dword [ebp - 0x80], 0
lea ecx, [ebp - 0x2b]
xorps xmm0, xmm0
mov word [ebp - 0x2c], 0x7a
mov byte [ebp - 0x2b], 0
lea edx, [ecx + 1]
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003a200
sub ecx, edx
lea eax, [ebp - 0x2b]
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.10002130
mov dword [ebp - 4], 0
mov edi, dword [esi + 0x1b4]
test edi, edi
je 0x1003a240
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003a240
lea eax, [ebp - 0x48]
mov ecx, edi
push eax
call dword [0x10077c88]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x34]
cmp ecx, 0xf
jbe 0x1003a27b
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003a271
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003aa98
push ecx
push edx
call fcn.1004a076
add esp, 8
xorps xmm0, xmm0
mov word [ebp - 0x2c], 0x69
lea ecx, [ebp - 0x2b]
mov byte [ebp - 0x2b], 0
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x38], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x34], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003a2a0
sub ecx, edx
lea eax, [ebp - 0x2b]
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.10002130
mov dword [ebp - 4], 1
mov edi, dword [esi + 0x1b8]
test edi, edi
je 0x1003a2e0
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003a2e0
lea eax, [ebp - 0x48]
mov ecx, edi
push eax
call dword [0x10077c88]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x34]
cmp ecx, 0xf
jbe 0x1003a31b
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003a311
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003aa9d
push ecx
push edx
call fcn.1004a076
add esp, 8
xorps xmm0, xmm0
mov word [ebp - 0x2c], 0x2c
lea ecx, [ebp - 0x2b]
mov byte [ebp - 0x2b], 0
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x38], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x34], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003a340
sub ecx, edx
lea eax, [ebp - 0x2b]
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.10002130
mov dword [ebp - 4], 2
mov edi, dword [esi + 0x1bc]
test edi, edi
je 0x1003a380
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003a380
lea eax, [ebp - 0x48]
mov ecx, edi
push eax
call dword [0x10077c58]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x34]
cmp ecx, 0xf
jbe 0x1003a3bb
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003a3b1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003aaa2
push ecx
push edx
call fcn.1004a076
add esp, 8
mov edx, dword [esi + 0x198]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
test edx, edx
jne 0x1003a3db
xor eax, eax
jmp 0x1003a3f4
mov ecx, dword [0x10077bec]
mov eax, 0x10624dd3
mul edx
shr edx, 6
imul eax, edx, 0x3e8
push eax
call ecx
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x1003aa57
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
mov ecx, dword [esi + 0x198]
mov dword [ebp - 0x30], ecx
je 0x1003a50b
test ecx, ecx
je 0x1003a50b
mov eax, 0x12e0be83
mov edi, ecx
mul ecx
sub edi, edx
shr edi, 1
add edi, edx
shr edi, 0x1d
cmp edi, 4
jae 0x1003a50b
mov eax, dword [ebp - 0x2c]
cmp byte [eax + 4], 0x2d
jae 0x1003a50b
push 4
push 0x10b8050
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003a50b
mov eax, 0x10624dd3
mov esi, dword [0x10077bf0]
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 - 0x4c]
mov edi, eax
mov dword [ebp - 0x30], eax
test eax, eax
je 0x1003a50d
cmp dword [eax + 0x3c], 0
je 0x1003a50d
push dword [esi + 0x198]
xor edx, edx
lea ecx, [ebp - 0x7c]
push eax
call fcn.1000a860
add esp, 8
lea ecx, [ebp - 0x28]
push eax
call fcn.10007400
mov ecx, dword [ebp - 0x68]
cmp ecx, 0xf
jbe 0x1003a506
mov edx, dword [ebp - 0x7c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003a4fc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003aaa7
push ecx
push edx
call fcn.1004a076
add esp, 8
mov edi, dword [ebp - 0x30]
jmp 0x1003a560
xor edi, edi
push dword [esi + 0x198]
mov edx, dword [ebp - 0x2c]
lea ecx, [ebp - 0x7c]
push 0
call fcn.1000a860
add esp, 8
lea ecx, [ebp - 0x28]
push eax
call fcn.10007400
mov ecx, dword [ebp - 0x68]
cmp ecx, 0xf
jbe 0x1003a560
mov edx, dword [ebp - 0x7c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003a556
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003aaac
push ecx
push edx
call fcn.1004a076
add esp, 8
mov eax, dword [esi + 0x1bc]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x1003a587
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003a587
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x28]
push eax
call dword [0x10077c58]
mov edx, dword [ebp - 0x2c]
lea ecx, [ebp - 0x7c]
push edi
call fcn.1000ac10
add esp, 4
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 4
mov edi, dword [esi + 0x1ac]
test edi, edi
je 0x1003a5bf
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003a5bf
push dword [ebp - 0x30]
mov ecx, edi
call dword [0x10077c88]
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x68]
cmp ecx, 0xf
jbe 0x1003a5f7
mov edx, dword [ebp - 0x7c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003a5ed
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003aab1
push ecx
push edx
call fcn.1004a076
add esp, 8
mov eax, dword [esi + 0x1a4]
cmp eax, 1
jne 0x1003a73f
mov edx, dword [esi + 0x1a0]
push ecx
lea ecx, [ebp - 0x7c]
call fcn.1000eae0
add esp, 4
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 0xf
jbe 0x1003a624
mov eax, dword [eax]
movaps xmm0, xmmword [0x10079590]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x44], xmm0
mov word [ebp - 0x34], 0x3d6b
mov byte [ebp - 0x32], 0
nop dword [eax]
mov al, byte [ebp - 0x44]
xor byte [ebp + ecx - 0x43], al
inc ecx
cmp ecx, 0x11
jb 0x1003a640
sub esp, 0x18
mov byte [ebp - 0x32], 0
mov edx, esp
lea ecx, [ebp - 0x43]
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 0x1003a670
sub ecx, edi
lea eax, [ebp - 0x43]
push ecx
push eax
mov ecx, edx
call fcn.10002130
lea eax, [ebp - 0x64]
push eax
call fcn.1000b3c0
add esp, 0x20
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 6
mov edi, dword [esi + 0x1b4]
test edi, edi
je 0x1003a6ba
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003a6ba
push dword [ebp - 0x30]
mov ecx, edi
call dword [0x10077c88]
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x50]
cmp ecx, 0xf
jbe 0x1003a6f2
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003a6e8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003aab6
push ecx
push edx
call fcn.1004a076
add esp, 8
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], 0
cmp ecx, 0xf
jbe 0x1003a83f
mov edx, dword [ebp - 0x7c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003a835
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003aab6
jmp 0x1003a835
cmp eax, 2
jne 0x1003a83f
mov edx, dword [esi + 0x1a0]
push ecx
lea ecx, [ebp - 0x7c]
call fcn.1000eae0
add esp, 4
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 0xf
jbe 0x1003a766
mov eax, dword [eax]
movaps xmm0, xmmword [0x10079420]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x44], xmm0
mov word [ebp - 0x34], 0xa5c
mov byte [ebp - 0x32], 0
nop
mov al, byte [ebp - 0x44]
xor byte [ebp + ecx - 0x43], al
inc ecx
cmp ecx, 0x11
jb 0x1003a780
sub esp, 0x18
mov byte [ebp - 0x32], 0
mov edx, esp
lea ecx, [ebp - 0x43]
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 0x1003a7b0
sub ecx, edi
lea eax, [ebp - 0x43]
push ecx
push eax
mov ecx, edx
call fcn.10002130
lea eax, [ebp - 0x64]
push eax
call fcn.1000b3c0
add esp, 0x20
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 8
mov edi, dword [esi + 0x1b4]
test edi, edi
je 0x1003a7fa
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003a7fa
push dword [ebp - 0x30]
mov ecx, edi
call dword [0x10077c88]
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x50]
cmp ecx, 0xf
jbe 0x1003a6f2
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003a6e8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003aab6
jmp 0x1003a6e8
push ecx
push edx
call fcn.1004a076
add esp, 8
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x64]
mov edx, dword [esi + 0x19c]
call fcn.1000efc0
mov edx, dword [ebp - 0x54]
mov eax, 3
mov edi, edx
mov dword [ebp - 0x80], 1
mov dword [ebp - 0x2c], eax
cmp edi, eax
jle 0x1003a8d9
nop dword [eax]
mov ecx, edi
sub ecx, eax
cmp edx, ecx
jb 0x1003aa93
mov esi, dword [ebp - 0x50]
mov eax, esi
sub eax, edx
cmp eax, 1
jb 0x1003a8b1
lea eax, [edx + 1]
cmp esi, 0xf
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x64]
cmova eax, dword [ebp - 0x64]
sub edx, ecx
inc edx
push edx
lea esi, [eax + ecx]
lea eax, [esi + 1]
push esi
push eax
call fcn.1004bc10
add esp, 0xc
mov byte [esi], 0x2e
jmp 0x1003a8c3
push 0x2e
push 1
push ecx
push dword [ebp - 0x80]
lea ecx, [ebp - 0x64]
push 1
call fcn.10008340
mov eax, dword [ebp - 0x2c]
inc edi
add eax, 4
mov dword [ebp - 0x2c], eax
cmp edi, eax
jle 0x1003a8d6
mov edx, dword [ebp - 0x54]
jmp 0x1003a870
mov esi, dword [ebp - 0x4c]
cmp dword [ebp - 0x50], 0xf
lea eax, [ebp - 0x64]
movaps xmm0, xmmword [0x10079660]
cmova eax, dword [ebp - 0x64]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], 0x3e686d
nop dword [eax]
mov al, byte [ebp - 0x44]
xor byte [ebp + ecx - 0x43], al
inc ecx
cmp ecx, 0x12
jb 0x1003a900
sub esp, 0x18
mov byte [ebp - 0x31], 0
mov edx, esp
lea ecx, [ebp - 0x43]
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 0x1003a930
sub ecx, edi
lea eax, [ebp - 0x43]
push ecx
push eax
mov ecx, edx
call fcn.10002130
lea eax, [ebp - 0x7c]
push eax
call fcn.1000b3c0
add esp, 0x20
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 0xa
mov edi, dword [esi + 0x1b8]
test edi, edi
je 0x1003a97a
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003a97a
push dword [ebp - 0x30]
mov ecx, edi
call dword [0x10077c88]
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x68]
cmp ecx, 0xf
jbe 0x1003a9b2
mov edx, dword [ebp - 0x7c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003a9a8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003aab6
push ecx
push edx
call fcn.1004a076
add esp, 8
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0xf
mov byte [ebp - 0x7c], 0
cmp ecx, 0xf
jbe 0x1003a9fc
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003a9f2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003aab6
push ecx
push edx
call fcn.1004a076
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], 0
cmp ecx, 0xf
jbe 0x1003aa45
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003aa3b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003aab6
push ecx
push edx
call fcn.1004a076
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov esi, dword [esi + 0x1a8]
test esi, esi
je 0x1003aa78
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003aa78
push 1
mov ecx, esi
call dword [0x10077c24]
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.1004a015
mov esp, ebp
pop ebp
ret
call fcn.10007480
call fcn.1004f344
call fcn.1004f344
call fcn.1004f344
call fcn.1004f344
call fcn.1004f344
call fcn.1004f344
call fcn.1004f344
int3