Function at 0x1003e350
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10093812
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x100bb084]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], 0
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov byte [ebp - 0x2d], 0
cmp esi, edi
je 0x1003e7be
nop dword [eax]
mov ebx, dword [esi]
test ebx, ebx
je 0x1003e7b0
mov eax, 0x10624dd3
mul ebx
shr edx, 6
imul eax, edx, 0x3e8
push eax
call dword [0x100ada34]
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x1003e5a0
push 0
lea eax, [ebp - 0x37]
mov word [ebp - 0x38], 0x3d
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0x37], 0
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
call fcn.10004d00
mov ecx, dword [ebp - 0x3c]
mov edx, ebx
mov byte [ebp - 4], 1
call fcn.10009fd0
mov dword [ebp - 0x40], eax
test eax, eax
je 0x1003e427
cmp dword [eax + 0x40], 0
je 0x1003e427
push ebx
push eax
xor edx, edx
lea ecx, [ebp - 0xbc]
call fcn.1000a120
add esp, 8
mov ebx, eax
jmp 0x1003e43d
mov edx, dword [ebp - 0x3c]
lea ecx, [ebp - 0xbc]
push ebx
push 0
call fcn.1000a120
add esp, 8
mov ebx, eax
lea eax, [ebp - 0x2c]
cmp eax, ebx
je 0x1003e474
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x1003e459
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.10004bb0
push ebx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
call fcn.10004580
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0xa8]
cmp eax, 0x10
jb 0x1003e496
inc eax
lea ecx, [ebp - 0xbc]
push eax
push dword [ebp - 0xbc]
call fcn.10004bb0
mov eax, dword [ebp - 0x34]
movzx ebx, byte [ebp - 0x2d]
mov eax, dword [eax + 8]
mov eax, dword [eax + ebx*4]
mov dword [ebp - 0x74], eax
test eax, eax
je 0x1003e570
add eax, 4
je 0x1003e4d0
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003e4d0
mov ecx, dword [ebp - 0x74]
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ecx + 4]
call dword [0x100ada48]
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x40]
mov eax, dword [eax + 8]
mov eax, dword [eax + ebx*4]
mov dword [eax + 0x60], edx
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 8]
mov eax, dword [eax + ebx*4]
mov dword [eax + 0x64], ecx
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 8]
mov eax, dword [eax + ebx*4]
mov dword [eax + 0x68], 1
test ecx, ecx
je 0x1003e50e
movsx ecx, word [ecx + 0x4e]
movsx eax, word [edx + 0x5e]
add ecx, eax
jmp 0x1003e512
movsx ecx, word [edx + 0x5e]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 8]
mov eax, dword [eax + ebx*4]
mov dword [eax + 0x6c], ecx
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 8]
mov eax, dword [eax + ebx*4]
mov eax, dword [eax]
mov dword [ebp - 0x40], eax
test eax, eax
je 0x1003e570
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003e54a
mov ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x2c]
push eax
call dword [0x100adab0]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 8]
mov eax, dword [eax + ebx*4]
mov ebx, dword [eax]
test ebx, ebx
je 0x1003e570
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003e570
push 1
mov ecx, ebx
call dword [0x100ada80]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x1003e589
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.10004bb0
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
jmp 0x1003e7ad
mov eax, dword [ebp - 0x34]
movzx ebx, byte [ebp - 0x2d]
shl ebx, 2
mov dword [ebp - 0x3c], ebx
mov eax, dword [eax + 8]
cmp dword [ebx + eax], 0
je 0x1003e7ad
movaps xmm0, xmmword [0x100af760]
xor ecx, ecx
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x48], 0xa504156
mov dword [ebp - 0x44], 0x505c40
mov al, byte [ebp - 0x58]
xor byte [ebp + ecx - 0x57], al
inc ecx
cmp ecx, 0x16
jb 0x1003e5d5
cmp byte [ebp - 0x57], 0
mov byte [ebp - 0x41], 0
mov dword [ebp - 0x78], 0xf
mov dword [ebp - 0x7c], 0
mov byte [ebp - 0x8c], 0
jne 0x1003e605
xor ecx, ecx
jmp 0x1003e619
lea ecx, [ebp - 0x57]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003e610
sub ecx, edx
push ecx
lea eax, [ebp - 0x57]
push eax
lea ecx, [ebp - 0x8c]
call fcn.10004d00
mov eax, dword [ebp - 0x34]
mov byte [ebp - 4], 4
mov eax, dword [eax + 8]
mov ebx, dword [ebx + eax]
add ebx, 4
je 0x1003e657
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003e657
lea eax, [ebp - 0x8c]
mov ecx, ebx
push eax
call dword [0x100ada48]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x78]
cmp eax, 0x10
jb 0x1003e676
inc eax
lea ecx, [ebp - 0x8c]
push eax
push dword [ebp - 0x8c]
call fcn.10004bb0
mov eax, dword [ebp - 0x34]
mov ebx, dword [ebp - 0x3c]
mov dword [ebp - 0x78], 0xf
mov dword [ebp - 0x7c], 0
mov eax, dword [eax + 8]
mov byte [ebp - 0x8c], 0
mov eax, dword [ebx + eax]
cmp dword [eax], 0
je 0x1003e7ad
movaps xmm0, xmmword [0x100af510]
xor ecx, ecx
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x60], 0x613b2a3d
mov dword [ebp - 0x5c], 0x3b372b
nop dword [eax + eax]
mov al, byte [ebp - 0x70]
xor byte [ebp + ecx - 0x6f], al
inc ecx
cmp ecx, 0x16
jb 0x1003e6c0
cmp byte [ebp - 0x6f], 0
mov byte [ebp - 0x59], 0
mov dword [ebp - 0x90], 0xf
mov dword [ebp - 0x94], 0
mov byte [ebp - 0xa4], 0
jne 0x1003e6f6
xor ecx, ecx
jmp 0x1003e709
lea ecx, [ebp - 0x6f]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003e700
sub ecx, edx
push ecx
lea eax, [ebp - 0x6f]
push eax
lea ecx, [ebp - 0xa4]
call fcn.10004d00
mov eax, dword [ebp - 0x34]
mov byte [ebp - 4], 5
mov eax, dword [eax + 8]
mov eax, dword [ebx + eax]
mov ebx, dword [eax]
test ebx, ebx
je 0x1003e748
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003e748
lea eax, [ebp - 0xa4]
mov ecx, ebx
push eax
call dword [0x100adab0]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x90]
cmp eax, 0x10
jb 0x1003e76a
inc eax
lea ecx, [ebp - 0xa4]
push eax
push dword [ebp - 0xa4]
call fcn.10004bb0
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x90], 0xf
mov dword [ebp - 0x94], 0
mov eax, dword [eax + 8]
mov byte [ebp - 0xa4], 0
mov eax, dword [ecx + eax]
mov ebx, dword [eax]
test ebx, ebx
je 0x1003e7ad
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003e7ad
push eax
mov ecx, ebx
call dword [0x100ada80]
inc byte [ebp - 0x2d]
add esi, 4
cmp esi, edi
jne 0x1003e3a0
mov eax, dword [ebp - 0x34]
mov ecx, eax
call fcn.1003df30
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x1003e7db
mov eax, dword [ebp + 0x10]
sub eax, ecx
sar eax, 2
push eax
push ecx
call fcn.1000fe20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10059ed0
mov esp, ebp
pop ebp
ret 0xc