Function at 0x1003a0c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100489e7
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x10052040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
xor ecx, ecx
mov dword [ebp - 0x1c], 0xbabeb2b8
mov dword [ebp - 0x18], 0xa9a5bcbd
mov dword [ebp - 0x14], 0x100a0a1
nop dword [eax + eax]
lea eax, [ecx - 0x76]
xor byte [ebp + ecx - 0x1c], al
inc ecx
cmp ecx, 0xa
jb 0x1003a110
lea eax, [ebp - 0x1c]
mov byte [ebp - 0x11], 0
push eax
lea ecx, [ebp - 0xac]
call fcn.10001d80
mov byte [ebp - 4], 1
xor ecx, ecx
mov dword [ebp - 0x1c], 0xb5b5b3b9
mov dword [ebp - 0x18], 0xa3a4b8bd
mov dword [ebp - 0x14], 0x100a1a0
nop dword [eax + eax]
lea eax, [ecx - 0x76]
xor byte [ebp + ecx - 0x1c], al
inc ecx
cmp ecx, 0xa
jb 0x1003a150
lea eax, [ebp - 0x1c]
mov byte [ebp - 0x11], 0
push eax
lea ecx, [ebp - 0x94]
call fcn.10001d80
mov byte [ebp - 4], 2
xor ecx, ecx
mov dword [ebp - 0x1c], 0xbeb5b8b9
mov dword [ebp - 0x18], 0xa0a0bab7
mov dword [ebp - 0x14], 0x100a0a0
nop dword [eax + eax]
lea eax, [ecx - 0x76]
xor byte [ebp + ecx - 0x1c], al
inc ecx
cmp ecx, 0xa
jb 0x1003a190
lea eax, [ebp - 0x1c]
mov byte [ebp - 0x11], 0
push eax
lea ecx, [ebp - 0x7c]
call fcn.10001d80
mov byte [ebp - 4], 3
xor ecx, ecx
mov dword [ebp - 0x1c], 0xbabbbabf
mov dword [ebp - 0x18], 0xa7a5bebe
mov word [ebp - 0x14], 0xa5
mov byte [ebp - 0x12], 1
nop dword [eax + eax]
lea eax, [ecx - 0x76]
xor byte [ebp + ecx - 0x1c], al
inc ecx
cmp ecx, 9
jb 0x1003a1d0
lea eax, [ebp - 0x1c]
mov byte [ebp - 0x12], 0
push eax
lea ecx, [ebp - 0x64]
call fcn.10001d80
mov byte [ebp - 4], 4
xor ecx, ecx
mov dword [ebp - 0x1c], 0xb5beb2bb
mov dword [ebp - 0x18], 0xa5a5beb9
mov dword [ebp - 0x14], 0x100a4a7
lea eax, [ecx - 0x76]
xor byte [ebp + ecx - 0x1c], al
inc ecx
cmp ecx, 0xa
jb 0x1003a208
lea eax, [ebp - 0x1c]
mov byte [ebp - 0x11], 0
push eax
lea ecx, [ebp - 0x4c]
call fcn.10001d80
lea edi, [ebp - 0xac]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x34]
mov dword [ebp - 0xc0], 0
sub ecx, edi
mov dword [ebp - 0xbc], 0
mov eax, 0x2aaaaaab
mov dword [ebp - 0xb8], 0
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1003a32b
cmp eax, 0xaaaaaaa
ja 0x1003a4d0
lea esi, [eax + eax*2]
shl esi, 3
mov dword [ebp - 0xb4], esi
cmp esi, 0x1000
jb 0x1003a2af
lea eax, [esi + 0x23]
cmp eax, esi
jbe 0x1003a4d5
push eax
call fcn.1004734e
add esp, 4
test eax, eax
je 0x1003a46a
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x1003a2c2
test esi, esi
je 0x1003a2c0
push esi
call fcn.1004734e
add esp, 4
mov esi, eax
jmp 0x1003a2c2
xor esi, esi
mov eax, dword [ebp - 0xb4]
add eax, esi
mov dword [ebp - 0xc0], esi
mov dword [ebp - 0xb8], eax
lea eax, [ebp - 0xc0]
mov dword [ebp - 0xbc], esi
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 7
cmp edi, eax
je 0x1003a318
nop dword [eax]
push edi
mov ecx, esi
call fcn.10044530
add esi, 0x18
lea eax, [ebp - 0x34]
add edi, 0x18
mov dword [ebp - 0x18], esi
cmp edi, eax
jne 0x1003a300
push ecx
mov edx, esi
mov ecx, esi
call fcn.10044840
add esp, 4
mov dword [ebp - 0xbc], esi
push 0x10001d30
push 5
push 0x18
lea eax, [ebp - 0xac]
mov byte [ebp - 4], 9
push eax
call fcn.100477eb
mov eax, dword [ebp - 0xc0]
mov ecx, dword [ebp - 0xbc]
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xc4], ecx
cmp eax, ecx
je 0x1003a432
push eax
lea ecx, [ebp - 0x34]
call fcn.10044530
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x34]
mov edi, dword [ebp - 0x34]
lea edx, [ebp + 8]
mov esi, dword [ebp + 0x18]
cmp eax, 0xf
cmova ecx, edi
cmp dword [ebp + 0x1c], 0xf
cmova edx, dword [ebp + 8]
cmp esi, dword [ebp - 0x24]
jne 0x1003a3eb
sub esi, 4
jb 0x1003a3a5
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x1003a3aa
add edx, 4
add ecx, 4
sub esi, 4
jae 0x1003a394
cmp esi, 0xfffffffc
je 0x1003a3de
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x1003a3d7
cmp esi, 0xfffffffd
je 0x1003a3de
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x1003a3d7
cmp esi, 0xfffffffe
je 0x1003a3de
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x1003a3d7
cmp esi, 0xffffffff
je 0x1003a3de
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x1003a3de
sbb eax, eax
or eax, 1
jmp 0x1003a3e0
xor eax, eax
test eax, eax
mov eax, dword [ebp - 0x20]
je 0x1003a470
cmp eax, 0xf
jbe 0x1003a417
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x1003a40d
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003a46a
push ecx
push edi
call fcn.10047698
add esp, 8
mov eax, dword [ebp - 0xb4]
add eax, 0x18
mov dword [ebp - 0xb4], eax
cmp eax, dword [ebp - 0xc4]
jne 0x1003a364
mov byte [ebp - 0xad], 0
lea ecx, [ebp - 0xc0]
call fcn.10044620
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0xf
jbe 0x1003a4af
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003a4a5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1003a4a5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
cmp eax, 0xf
jbe 0x1003a49c
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x1003a492
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003a46a
push ecx
push edi
call fcn.10047698
add esp, 8
mov byte [ebp - 0xad], 1
jmp 0x1003a439
push ecx
push edx
call fcn.10047698
add esp, 8
mov al, byte [ebp - 0xad]
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.10047260
mov esp, ebp
pop ebp
ret
call fcn.100022f0
call fcn.10001290
int3