Function at 0x1003a0c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10048ecd
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x10053040]
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], 0xfcf8f0fa
mov dword [ebp - 0x18], 0xf7fbfeff
mov dword [ebp - 0x14], 0x100e2e3
nop dword [eax + eax]
lea eax, [ecx - 0x38]
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 - 0xdc]
call fcn.10001d80
mov byte [ebp - 4], 1
xor ecx, ecx
mov dword [ebp - 0x1c], 0xf3f3f1fb
mov dword [ebp - 0x18], 0xfdfafaff
mov dword [ebp - 0x14], 0x100e3e2
nop dword [eax + eax]
lea eax, [ecx - 0x38]
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 - 0xc4]
call fcn.10001d80
mov byte [ebp - 4], 2
xor ecx, ecx
mov dword [ebp - 0x1c], 0xf8f3fafb
mov dword [ebp - 0x18], 0xfefef8f5
mov dword [ebp - 0x14], 0x100e2e2
nop dword [eax + eax]
lea eax, [ecx - 0x38]
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 - 0xac]
call fcn.10001d80
mov byte [ebp - 4], 3
xor ecx, ecx
mov dword [ebp - 0x1c], 0xfcfdf8fd
mov dword [ebp - 0x18], 0xf9fbfcfc
mov word [ebp - 0x14], 0xe7
mov byte [ebp - 0x12], 1
nop
lea eax, [ecx - 0x38]
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 - 0x94]
call fcn.10001d80
mov byte [ebp - 4], 4
xor ecx, ecx
mov dword [ebp - 0x1c], 0xf3f8f0f9
mov dword [ebp - 0x18], 0xfbfbfcfb
mov dword [ebp - 0x14], 0x100e6e5
nop dword [eax + eax]
lea eax, [ecx - 0x38]
xor byte [ebp + ecx - 0x1c], al
inc ecx
cmp ecx, 0xa
jb 0x1003a210
lea eax, [ebp - 0x1c]
mov byte [ebp - 0x11], 0
push eax
lea ecx, [ebp - 0x7c]
call fcn.10001d80
mov byte [ebp - 4], 5
xor ecx, ecx
mov dword [ebp - 0x1c], 0xfdf2fcfa
mov dword [ebp - 0x18], 0xf8fffcfd
mov dword [ebp - 0x14], 0x100e2e7
lea eax, [ecx - 0x38]
xor byte [ebp + ecx - 0x1c], al
inc ecx
cmp ecx, 0xa
jb 0x1003a248
lea eax, [ebp - 0x1c]
mov byte [ebp - 0x11], 0
push eax
lea ecx, [ebp - 0x64]
call fcn.10001d80
mov byte [ebp - 4], 6
xor ecx, ecx
mov dword [ebp - 0x1c], 0xfafdf1fb
mov dword [ebp - 0x18], 0xfefcf5ff
mov dword [ebp - 0x14], 0x100e1e4
lea eax, [ecx - 0x38]
xor byte [ebp + ecx - 0x1c], al
inc ecx
cmp ecx, 0xa
jb 0x1003a280
lea eax, [ebp - 0x1c]
mov byte [ebp - 0x11], 0
push eax
lea ecx, [ebp - 0x4c]
call fcn.10001d80
lea edi, [ebp - 0xdc]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x34]
mov dword [ebp - 0xf0], 0
sub ecx, edi
mov dword [ebp - 0xec], 0
mov eax, 0x2aaaaaab
mov dword [ebp - 0xe8], 0
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1003a39f
cmp eax, 0xaaaaaaa
ja 0x1003a54c
lea esi, [eax + eax*2]
shl esi, 3
mov dword [ebp - 0xe4], esi
cmp esi, 0x1000
jb 0x1003a327
lea eax, [esi + 0x23]
cmp eax, esi
jbe 0x1003a551
push eax
call fcn.1004781e
add esp, 4
test eax, eax
je 0x1003a4e6
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x1003a33a
test esi, esi
je 0x1003a338
push esi
call fcn.1004781e
add esp, 4
mov esi, eax
jmp 0x1003a33a
xor esi, esi
mov eax, dword [ebp - 0xe4]
add eax, esi
mov dword [ebp - 0xf0], esi
mov dword [ebp - 0xe8], eax
lea eax, [ebp - 0xf0]
mov dword [ebp - 0xec], esi
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 9
cmp edi, eax
je 0x1003a38c
push edi
mov ecx, esi
call fcn.100449f0
add esi, 0x18
lea eax, [ebp - 0x34]
add edi, 0x18
mov dword [ebp - 0x18], esi
cmp edi, eax
jne 0x1003a374
push ecx
mov edx, esi
mov ecx, esi
call fcn.10044d00
add esp, 4
mov dword [ebp - 0xec], esi
push 0x10001d30
push 7
push 0x18
lea eax, [ebp - 0xdc]
mov byte [ebp - 4], 0xb
push eax
call fcn.10047cbb
mov eax, dword [ebp - 0xf0]
mov ecx, dword [ebp - 0xec]
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xf4], ecx
cmp eax, ecx
je 0x1003a4ae
nop dword [eax + eax]
push eax
lea ecx, [ebp - 0x34]
call fcn.100449f0
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 0x1003a467
sub esi, 4
jb 0x1003a421
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x1003a426
add edx, 4
add ecx, 4
sub esi, 4
jae 0x1003a410
cmp esi, 0xfffffffc
je 0x1003a45a
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x1003a453
cmp esi, 0xfffffffd
je 0x1003a45a
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x1003a453
cmp esi, 0xfffffffe
je 0x1003a45a
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x1003a453
cmp esi, 0xffffffff
je 0x1003a45a
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x1003a45a
sbb eax, eax
or eax, 1
jmp 0x1003a45c
xor eax, eax
test eax, eax
mov eax, dword [ebp - 0x20]
je 0x1003a4ec
cmp eax, 0xf
jbe 0x1003a493
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x1003a489
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003a4e6
push ecx
push edi
call fcn.10047b68
add esp, 8
mov eax, dword [ebp - 0xe4]
add eax, 0x18
mov dword [ebp - 0xe4], eax
cmp eax, dword [ebp - 0xf4]
jne 0x1003a3e0
mov byte [ebp - 0xdd], 0
lea ecx, [ebp - 0xf0]
call fcn.10044ae0
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0xf
jbe 0x1003a52b
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003a521
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1003a521
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
cmp eax, 0xf
jbe 0x1003a518
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x1003a50e
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003a4e6
push ecx
push edi
call fcn.10047b68
add esp, 8
mov byte [ebp - 0xdd], 1
jmp 0x1003a4b5
push ecx
push edx
call fcn.10047b68
add esp, 8
mov al, byte [ebp - 0xdd]
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.10047730
mov esp, ebp
pop ebp
ret
call fcn.100022f0
call fcn.10001290
int3