Function at 0x10003502
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10090b98
mov eax, dword fs:[0]
push eax
sub esp, 0x40
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 edi, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push 0
push 0x100a4ed2
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
call fcn.10004d00
mov dword [ebp - 4], 0
mov esi, dword [0x100bfa48]
test esi, esi
jne 0x10003388
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.100045f0
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x100035d1
inc ecx
push ecx
jmp 0x100035c6
cmp byte [0x100bfabc], 0
je 0x100033c9
mov ecx, 0x10b8134
call fcn.10012080
mov edi, eax
test edi, edi
je 0x100033c6
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push edi
call ebx
test eax, eax
jne 0x100033c6
push 4
add edi, 0x6e4
push edi
call ebx
test eax, eax
jne 0x100033c6
mov ax, word [edi]
mov word [esi + 0x3e], ax
mov edi, dword [ebp - 0x48]
movzx eax, word [esi + 0x3e]
add eax, 0xffffff9b
cmp eax, 0x6f
ja case.0x100033e0.113
movzx eax, byte [eax + 0x10003618]
jmp dword [eax*4 + 0x100035f4]
mov cl, 0x3f
mov dword [ebp - 0x40], 0x4d5e743f
mov dword [ebp - 0x3c], 0x681f4c4a
xor eax, eax
mov dword [ebp - 0x38], 0x564d4d5e
mov word [ebp - 0x34], 0x4d50
mov byte [ebp - 0x32], 0
nop word [eax + eax]
xor byte [ebp + eax - 0x3f], cl
inc eax
cmp eax, 0xd
jae 0x1000341f
mov cl, byte [ebp - 0x40]
jmp 0x10003410
mov byte [ebp - 0x32], 0
jmp 0x100035a5
mov cl, 0x30
mov dword [ebp - 0x3c], 0x42517b30
mov dword [ebp - 0x38], 0x62104345
xor eax, eax
mov dword [ebp - 0x34], 0x5545575f
mov byte [ebp - 0x30], 0
xor byte [ebp + eax - 0x3b], cl
inc eax
cmp eax, 0xb
jae 0x10003454
mov cl, byte [ebp - 0x3c]
jmp 0x10003445
mov byte [ebp - 0x30], 0
lea eax, [ebp - 0x3b]
jmp 0x100035a8
mov cl, 0x14
mov byte [ebp - 0x3c], 0x75
mov al, 0x3e
mov byte [ebp - 0x41], 0x12
xor al, byte [ebp - 0x3c]
mov bh, cl
xor cl, byte [ebp - 0x3c]
xor bl, bl
mov byte [ebp - 0x3b], al
mov ah, 6
mov al, byte [ebp - 0x41]
mov dl, 7
mov byte [ebp - 0x3a], cl
mov ch, 0x55
mov cl, byte [ebp - 0x3c]
mov dh, 0x38
xor al, cl
mov byte [ebp - 0x42], 0x10
mov byte [ebp - 0x33], al
xor ah, cl
mov al, byte [ebp - 0x42]
xor dl, cl
mov byte [ebp - 0x31], bl
xor ch, cl
xor bl, cl
mov byte [ebp - 0x37], ah
xor dh, cl
mov byte [ebp - 0x39], dl
xor bh, cl
mov byte [ebp - 0x38], bl
xor al, cl
mov byte [ebp - 0x36], ch
mov byte [ebp - 0x32], al
lea eax, [ebp - 0x3b]
mov byte [ebp - 0x35], dh
mov byte [ebp - 0x34], bh
mov byte [ebp - 0x31], 0
jmp 0x100035a8
mov cl, 0x50
mov dword [ebp - 0x3c], 0x22311b50
mov dword [ebp - 0x38], 0x702325
xor eax, eax
mov dword [ebp - 0x34], 0x23353922
mov word [ebp - 0x30], 0x24
xor byte [ebp + eax - 0x3b], cl
inc eax
cmp eax, 0xc
jae 0x100034f6
mov cl, byte [ebp - 0x3c]
jmp 0x100034e7
mov byte [ebp - 0x2f], 0
lea eax, [ebp - 0x3b]
jmp 0x100035a8
movaps xmm0, xmmword [0x100af190]
xor ecx, ecx
movups xmmword [ebp - 0x40], xmm0
mov word [ebp - 0x30], 0x16
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x10
jb 0x10003515
mov byte [ebp - 0x2f], 0
jmp 0x100035a5
movaps xmm0, xmmword [str.w2eW:]
xor ecx, ecx
movups xmmword [ebp - 0x40], xmm0
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0xe
jb 0x10003535
mov byte [ebp - 0x31], 0
jmp 0x100035a5
mov cl, 0x1f
mov dword [ebp - 0x40], 0x3f735a1f
mov dword [ebp - 0x3c], 0x7e6d7052
xor eax, eax
mov dword [ebp - 0x38], 0x7e523f7b
mov word [ebp - 0x34], 0x7a78
mov byte [ebp - 0x32], 0
nop dword [eax + eax]
xor byte [ebp + eax - 0x3f], cl
inc eax
cmp eax, 0xd
jae 0x1000341f
mov cl, byte [ebp - 0x40]
jmp 0x10003570
movaps xmm0, xmmword [0x100af640]
xor ecx, ecx
movups xmmword [ebp - 0x40], xmm0
mov byte [ebp - 0x30], 0
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0xf
jb 0x10003594
mov byte [ebp - 0x30], 0
lea eax, [ebp - 0x3f]
push eax
lea ecx, [ebp - 0x2c]
call fcn.10004750
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.100045f0
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x100035d1
inc eax
push eax
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x2c]
call fcn.10004bb0
mov eax, edi
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 4