Function at 0x100016b0
Capabilities:
Contain obfuscated stackstrings
Delete file
Encode data using xor
Extract resource via kernel32 functions
Get system information on windows
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1001499b
mov eax, dword fs:[0]
push eax
sub esp, 0x2dc
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x2d4], eax
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x2e8]
mov dword fs:[0], eax
mov esi, edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], ecx
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
mov dword [esp + 0xc], eax
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x20], 0
movdqu xmmword [esp + 0x24], xmm0
movdqu xmmword [esp + 0x34], xmm0
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov eax, dword [esp + 0x1c]
cmp ax, 9
je 0x10001736
cmp ax, 6
je 0x10001736
xor edi, edi
jmp 0x1000173b
mov edi, 1
push 0x7e
lea eax, [esp + 0x5a]
push 0
push eax
call fcn.1000c7d0
add esp, 0xc
mov dword [esp + 0x54], 0x790053
mov dword [esp + 0x58], 0x740073
mov dword [esp + 0x5c], 0x6d0065
mov dword [esp + 0x60], 0x320033
push 0x104
push esi
mov dword [esp + 0x6c], 0x64005c
mov dword [esp + 0x70], 0x690072
mov dword [esp + 0x74], 0x650076
mov dword [esp + 0x78], 0x730072
mov dword [esp + 0x7c], 0x5c
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100017a5
sub ecx, edx
sar ecx, 1
je 0x100017df
movzx eax, word [esi + ecx*2 - 2]
cmp eax, 0x5c
je 0x100017cc
cmp eax, 0x2f
je 0x100017cc
mov dword [esi + ecx*2], 0x5c
lea eax, [esp + 0x54]
push eax
push 0x104
push esi
call fcn.100050f7
add esp, 0xc
xor eax, eax
mov dword [esp + 0x4e], 0
mov word [esp + 0x52], 0
xorps xmm0, xmm0
movq qword [esp + 0x46], xmm0
mov word [esp + 0x4c], ax
lea eax, [esp + 0x44]
mov dword [esp + 0x44], 0x410044
mov dword [esp + 0x48], 0x410054
mov dword [esp + 0x54], 0x720064
push eax
lea eax, [esp + 0x58]
push eax
push dword [esp + 0x14]
test edi, edi
je 0x10001856
mov dword [esp + 0x64], 0x32
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push dword [esp + 0x10]
mov edi, eax
lea eax, [esp + 0x58]
push 0x40
push eax
mov dword [esp + 0x20], edi
call fcn.100051ae
add esp, 0xc
push str.64.sys
jmp 0x10001882
mov dword [esp + 0x64], 0x31
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push dword [esp + 0x10]
mov edi, eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x58]
push 0x40
push eax
call fcn.100051ae
add esp, 0xc
push str..sys
lea eax, [esp + 0x58]
push 0x40
push eax
call fcn.100050f7
add esp, 0xc
lea eax, [esp + 0x54]
push eax
push 0x104
push esi
call fcn.100050f7
add esp, 0xc
test edi, edi
jne 0x100018b3
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x10001b07
mov esi, dword [esp + 0xc]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
mov dword [esp + 0x10], edi
test edi, edi
je 0x100018a8
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [esp + 0x40], eax
test eax, eax
jne 0x100018e5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x10001afa
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
lea eax, [edi + 4]
push eax
call fcn.100047de
mov esi, eax
add esp, 4
mov dword [esp + 0xc], esi
test esi, esi
jne 0x10001914
mov edi, dword [esp + 0x10]
lea esi, [eax + 8]
jmp 0x10001afa
lea eax, [edi + 4]
push eax
push 0
push esi
call fcn.1000c7d0
add esp, 0xc
push edi
push dword [esp + 0x44]
push esi
call fcn.10005ad0
add esp, 0xc
mov esi, edi
cmp edi, 4
jb 0x10001967
mov eax, dword [esp + 0xc]
mov edx, 0x888c2991
mov dword [esp + 0x14], 4
mov ecx, eax
sub dword [esp + 0x14], eax
nop
mov eax, dword [esp + 0x14]
xor esi, edx
xor dword [ecx], esi
add edx, 0x2de5dc
add ecx, 4
add eax, ecx
cmp eax, edi
jbe 0x10001950
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x18]
push edi
call fcn.10001330
mov esi, eax
add esp, 4
test esi, esi
je 0x10001adc
xor eax, eax
push 0x206
push eax
mov word [esp + 0xdc], ax
lea eax, [esp + 0xde]
push eax
call fcn.1000c7d0
add esp, 0xc
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
push str.kernel32.dll
mov byte [esp + 0x30], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [esp + 0x20], eax
test eax, eax
je 0x10001a0d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.Wow64DisableWow64FsRedirection
push eax
call esi
mov dword [esp + 0x24], eax
test eax, eax
je 0x10001a03
push str.Wow64RevertWow64FsRedirection
push dword [esp + 0x24]
call esi
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x20], 0
jmp 0x10001a11
mov eax, dword [esp + 0x24]
mov dword [esp + 0x2f0], 0
test eax, eax
je 0x10001a3a
lea ecx, [esp + 0x1c]
push ecx
call eax
movzx ecx, byte [esp + 0x2c]
test eax, eax
mov edx, 1
cmovne ecx, edx
mov byte [esp + 0x2c], cl
mov esi, dword [esp + 0x18]
lea eax, [esp + 0xd4]
push esi
push 0x104
push eax
call fcn.100051ae
add esp, 0xc
lea eax, [esp + 0xd4]
push 0x100196dc
push 0x104
push eax
call fcn.100050f7
add esp, 0xc
lea eax, [esp + 0xd4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 1
lea eax, [esp + 0xd8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov eax, dword [esp + 0x28]
test eax, eax
je 0x10001aa7
cmp byte [esp + 0x2c], 0
je 0x10001aa7
push dword [esp + 0x1c]
call eax
mov byte [esp + 0x2c], 0
mov edx, dword [esp + 0xc]
mov ecx, esi
push edi
call fcn.10001330
mov esi, eax
mov dword [esp + 0x2f4], 0xffffffff
mov eax, dword [esp + 0x2c]
add esp, 4
test eax, eax
je 0x10001ad8
cmp byte [esp + 0x2c], 0
je 0x10001ad8
push dword [esp + 0x1c]
call eax
test esi, esi
jne 0x10001aea
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor edi, edi
jmp 0x10001aee
mov edi, dword [esp + 0x10]
push dword [esp + 0xc]
call fcn.100047a6
add esp, 4
test edi, edi
je 0x10001b05
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
mov ecx, dword [esp + 0x2e8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x2d4]
xor ecx, esp
call fcn.10004797
mov esp, ebp
pop ebp
ret