Function at 0x10148840
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x6c
call fcn.101845a0
mov eax, dword [0x102d5908]
xor eax, esp
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x78]
push ebx
mov ebx, dword [esp + 0x88]
push esi
mov esi, dword [esp + 0x78]
push edi
mov edi, dword [esp + 0x98]
push ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], 1
call fcn.10107ed0
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
js 0x101488e8
call fcn.10149100
mov dword [esp + 0x18], eax
test eax, eax
je 0x101488e8
test esi, esi
jne 0x101488a9
mov esi, 0x102c07f1
xor ecx, ecx
jmp 0x101488c9
mov ecx, dword [esp + 0x80]
cmp ecx, 0xffffffff
jne 0x101488c9
mov ecx, esi
lea edx, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x101488c0
sub ecx, edx
push 0
push ebx
push ecx
push esi
mov esi, dword [esp + 0x28]
push esi
call fcn.101492e0
add esp, 0x14
test eax, eax
jne 0x101488fc
push esi
call fcn.10149090
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.1018427c
add esp, 0x6c
ret
push ebp
call fcn.10149100
mov ebp, eax
mov dword [esp + 0x30], ebp
test ebp, ebp
jne 0x1014892a
push esi
call fcn.10149090
add esp, 4
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.1018427c
add esp, 0x6c
ret
mov edx, dword [esp + 0x98]
test edx, edx
je 0x10148b41
mov ecx, 1
mov edi, edi
cmp edx, dword [esp + 0x24]
mov ebx, edx
mov eax, ecx
mov byte [esp + 0x13], cl
cmovg ebx, dword [esp + 0x24]
shr eax, 0x18
mov byte [esp + 0x10], al
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0x11], al
mov eax, ecx
shr eax, 8
push esi
push ebp
mov byte [esp + 0x1a], al
call fcn.10148fe0
add esp, 8
test eax, eax
je 0x10148b68
push dword [esp + 0x8c]
push dword [esp + 0x2c]
push ebp
call fcn.101494f0
add esp, 0xc
test eax, eax
je 0x10148b68
push 4
lea eax, [esp + 0x14]
push eax
push ebp
call fcn.101494f0
add esp, 0xc
test eax, eax
je 0x10148b68
push 0
lea eax, [esp + 0x3c]
push eax
push ebp
call fcn.10149230
add esp, 0xc
test eax, eax
je 0x10148b68
push ebp
call fcn.10149140
push ebx
lea eax, [esp + 0x40]
push eax
push edi
call sub.MSVCR120.dll_memcpy
add esp, 0x10
mov dword [esp + 0x20], 1
cmp dword [esp + 0x90], 1
jle 0x10148b1a
push esi
push ebp
call fcn.10148fe0
add esp, 8
test eax, eax
je 0x10148b68
push dword [esp + 0x24]
lea eax, [esp + 0x3c]
push eax
push ebp
call fcn.101494f0
add esp, 0xc
test eax, eax
je 0x10148b68
push 0
lea eax, [esp + 0x3c]
push eax
push ebp
call fcn.10149230
add esp, 0xc
test eax, eax
je 0x10148b68
push ebp
call fcn.10149140
add esp, 4
xor esi, esi
test ebx, ebx
jle 0x10148b00
cmp ebx, 0x20
jb 0x10148ad5
lea ecx, [edi - 1]
lea eax, [esp + ebx + 0x37]
add ecx, ebx
cmp edi, eax
ja 0x10148a68
lea eax, [esp + 0x38]
cmp ecx, eax
jae 0x10148ad5
mov eax, ebx
and eax, 0x8000001f
jns 0x10148a76
dec eax
or eax, 0xffffffe0
inc eax
mov edx, ebx
lea ebp, [esp + 0x48]
sub edx, eax
mov ecx, edi
mov eax, edi
lea edi, [esp + 0x38]
neg eax
add edi, eax
add eax, ebp
mov dword [esp + 0x34], edi
mov edi, dword [esp + 0x14]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x34]
mov ebp, dword [esp + 0x2c]
movdqu xmm0, xmmword [ecx]
add esi, 0x20
lea ecx, [ecx + 0x20]
movdqu xmm1, xmmword [eax + ecx - 0x20]
pxor xmm1, xmm0
movdqu xmmword [ecx - 0x20], xmm1
movdqu xmm1, xmmword [ecx + ebp - 0x20]
movdqu xmm0, xmmword [ecx - 0x10]
pxor xmm1, xmm0
movdqu xmmword [ecx - 0x10], xmm1
cmp esi, edx
jl 0x10148aa0
mov ebp, dword [esp + 0x30]
cmp esi, ebx
jge 0x10148b00
lea eax, [esi + edi]
mov edx, ebx
lea edi, [esp + 0x38]
sub edi, dword [esp + 0x14]
sub edx, esi
jmp 0x10148af0
mov cl, byte [edi + eax]
lea eax, [eax + 1]
xor byte [eax - 1], cl
dec edx
jne 0x10148af0
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x20]
inc esi
cmp esi, dword [esp + 0x90]
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0x1c]
jl 0x101489f3
mov edx, dword [esp + 0x98]
add edi, ebx
mov ecx, dword [esp + 0x18]
sub edx, ebx
inc ecx
mov dword [esp + 0x98], edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edi
test edx, edx
jne 0x10148940
push ebp
call fcn.10149090
push esi
call fcn.10149090
add esp, 8
mov eax, 1
pop ebp
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.1018427c
add esp, 0x6c
ret
push ebp
call fcn.10149090
push esi
call fcn.10149090
mov ecx, dword [esp + 0x80]
add esp, 8
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1018427c
add esp, 0x6c
ret