Function at 0x100393a0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100fbb68
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x3c
mov eax, dword [0x101190b8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov byte [ebp - 4], 1
cmp dword [ebx + 0x1c], 0
je 0x1003951c
cmp dword [ebx + 0x20], 0x10
lea ecx, [ebx + 0x24]
lea eax, [ebx + 0xc]
cmovae eax, dword [ebx + 0xc]
xor edx, edx
push ecx
push eax
xor ecx, ecx
call fcn.10034f60
mov ecx, dword [ebp - 0x1c]
mov esi, eax
add esp, 8
cmp esi, ecx
ja 0x10039444
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], esi
cmovae ecx, dword [ebp - 0x2c]
mov byte [ecx + esi], 0
jmp 0x10039451
sub eax, ecx
lea ecx, [ebp - 0x2c]
push 0
push eax
call fcn.1003a3d0
cmp dword [ebx + 0x20], 0x10
lea eax, [ebx + 0xc]
lea edx, [ebx + 0x24]
cmovae eax, dword [ebx + 0xc]
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0x10
push edx
cmovae ecx, dword [ebp - 0x2c]
lea edx, [esi + 1]
push eax
call fcn.10034f60
movaps xmm0, xmmword [str._a_a_a_a_a_a_a_a_a_a_a_a_a_a_a_ani_pnsoflns_r_aehjeunjbu_4C._aehjesnjbu_5C._awkfbuX_nqbiXd3_ahaatdubbiXjhcb6_a_8888_2D__a88_E3D536D_a537A_E21AD_atsfssuflXcbf_kb_afrshwbblXdnudkb_aehcwhnistdfkb_aifjbahistskb_aXlinabXwrto_jck_aXlinabXaknw_jck_awunhunssfu_bs_aeftbXfpXhaatbs_aehjeXeb_niwkfis_aehjeXfehuswkfis_acufpjrksnwhnis_achujfisbibjnbt_acuhwwbcpbfwhit_aqbusn_hekrbXocu_aeh]
add esp, 8
pxor xmm0, xmmword [0x1010e680]
mov eax, 0x10
mov dword [ebp - 0x38], 0x275a7469
mov byte [ebp - 0x34], 7
movups xmmword [ebp - 0x48], xmm0
nop word [eax + eax]
xor byte [ebp + eax - 0x48], 7
inc eax
cmp eax, 0x15
jb 0x100394a0
mov eax, dword [0x1014fb0c]
lea edx, [ebp - 0x48]
mov dword [ebp - 0x30], eax
mov eax, dword [0x101b8a40]
push edx
lea edx, [ebp - 0x30]
push edx
mov ecx, dword [eax]
push eax
mov eax, dword [ecx + 0x64]
call eax
mov eax, dword [0x101b8a40]
lea edx, [ebp - 0x2c]
add esp, 0xc
cmp dword [ebp - 0x18], 0x10
cmovae edx, dword [ebp - 0x2c]
mov ecx, dword [eax]
push edx
push 0x10138c74
push eax
mov eax, dword [ecx + 0x64]
call eax
mov edx, dword [ebp - 0x18]
add esp, 0xc
cmp edx, 0x10
jb 0x1003951c
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10039512
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10039554
push edx
push ecx
call fcn.100f9140
add esp, 8
mov edx, dword [ebx + 0x20]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
cmp edx, 0x10
jb 0x10039564
mov ecx, dword [ebx + 0xc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003955a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1003955a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100f9140
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100f8cc5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret