Function at 0x4041a0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65a917
mov eax, dword fs:[0]
push eax
sub esp, 0x394
mov eax, dword [0x6f7d14]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x318], ecx
mov dword [ebp - 0x31c], 0
mov dword [ebp - 0x324], 0
cmp dword [ebp + 8], 0
je 0x404728
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x318]
call fcn.004ec799
mov dword [ebp - 0x354], eax
mov ecx, dword [ebp - 0x318]
cmp dword [ecx + 0xdc], 0
je 0x404728
mov edx, dword [ebp - 0x354]
movzx eax, byte [edx + 0x10]
cmp eax, 1
je 0x404728
mov ecx, dword [ebp - 0x318]
mov edx, dword [ecx]
mov eax, dword [edx + 0x164]
mov dword [ebp - 0x358], eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x350]
push edx
mov ecx, dword [ebp - 0x318]
call dword [ebp - 0x358]
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
call fcn.0040dc80
movzx eax, al
test eax, eax
je 0x4042cc
mov ecx, dword [ebp - 0x318]
mov edx, dword [ecx]
mov eax, dword [edx + 0x23c]
mov dword [ebp - 0x39c], eax
lea ecx, [ebp - 0x350]
push ecx
lea edx, [ebp - 0x36c]
push edx
mov ecx, dword [ebp - 0x318]
call dword [ebp - 0x39c]
mov dword [ebp - 0x398], eax
mov eax, dword [ebp - 0x398]
mov dword [ebp - 0x3a0], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x31c]
or ecx, 1
mov dword [ebp - 0x31c], ecx
mov edx, dword [ebp - 0x3a0]
mov dword [ebp - 0x32c], edx
jmp 0x40430f
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x368]
call fcn.0040f0e0
mov dword [ebp - 0x35c], eax
mov ecx, dword [ebp - 0x35c]
mov dword [ebp - 0x360], ecx
mov dword [ebp - 4], 2
mov edx, dword [ebp - 0x31c]
or edx, 2
mov dword [ebp - 0x31c], edx
mov eax, dword [ebp - 0x360]
mov dword [ebp - 0x32c], eax
mov ecx, dword [ebp - 0x32c]
mov dword [ebp - 0x364], ecx
mov edx, dword [ebp - 0x364]
push edx
lea ecx, [ebp - 0x320]
call fcn.0040f0e0
mov dword [ebp - 4], 4
mov eax, dword [ebp - 0x31c]
and eax, 2
je 0x404351
and dword [ebp - 0x31c], 0xfffffffd
lea ecx, [ebp - 0x368]
call fcn.0040ed10
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x31c]
and ecx, 1
je 0x404372
and dword [ebp - 0x31c], 0xfffffffe
lea ecx, [ebp - 0x36c]
call fcn.0040ed10
mov edx, dword [ebp - 0x318]
cmp dword [edx + 0x1d8], 0
je 0x40438d
mov dword [ebp - 0x330], 1
jmp 0x404397
mov dword [ebp - 0x330], 0
mov eax, dword [ebp - 0x330]
mov dword [ebp - 0x34c], eax
mov ecx, dword [ebp - 0x318]
add ecx, 0x1d4
push ecx
lea ecx, [ebp - 0x394]
call fcn.0040f0e0
mov byte [ebp - 4], 6
cmp dword [ebp - 0x34c], 0
je 0x4043de
mov edx, dword [ebp - 0x318]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x318]
mov edx, dword [eax + 0x220]
call edx
push 0
lea ecx, [ebp - 0x320]
call fcn.0040cef0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x4046c2
push 0
lea ecx, [ebp - 0x320]
call fcn.0040cef0
push eax
push 1
push 8
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
push 2
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x318]
call fcn.0040dcb0
mov ecx, 1
imul edx, ecx, 0
mov dword [ebp - 0x334], edx
cmp dword [ebp - 0x334], 0x104
jae 0x40443f
jmp 0x404444
call fcn.0062fd7e
mov eax, dword [ebp - 0x334]
mov byte [ebp + eax - 0x114], 0
mov ecx, 1
imul edx, ecx, 0
mov dword [ebp - 0x338], edx
cmp dword [ebp - 0x338], 0x100
jae 0x40446e
jmp 0x404473
call fcn.0062fd7e
mov eax, dword [ebp - 0x338]
mov byte [ebp + eax - 0x214], 0
mov ecx, 1
imul edx, ecx, 0
mov dword [ebp - 0x33c], edx
cmp dword [ebp - 0x33c], 0x100
jae 0x40449d
jmp 0x4044a2
call fcn.0062fd7e
mov eax, dword [ebp - 0x33c]
mov byte [ebp + eax - 0x314], 0
push 0x100
lea ecx, [ebp - 0x314]
push ecx
push 0x100
lea edx, [ebp - 0x214]
push edx
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x320]
call fcn.0040cef0
push eax
call fcn.00636ee4
add esp, 0x24
lea eax, [ebp - 0x314]
push eax
lea ecx, [ebp - 0x214]
push ecx
push 0
push 0
push 0x104
lea edx, [ebp - 0x114]
push edx
call fcn.0063a3d4
add esp, 0x18
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x318]
call fcn.0040de00
test eax, eax
je 0x404529
mov dword [ebp - 0x340], 1
jmp 0x404533
mov dword [ebp - 0x340], 0
mov ecx, dword [ebp - 0x340]
mov dword [ebp - 0x388], ecx
push 0x14
call fcn.004eab18
add esp, 4
mov dword [ebp - 0x344], eax
mov byte [ebp - 4], 7
cmp dword [ebp - 0x344], 0
je 0x40456f
mov ecx, dword [ebp - 0x344]
call fcn.00401e70
mov dword [ebp - 0x348], eax
jmp 0x404579
mov dword [ebp - 0x348], 0
mov edx, dword [ebp - 0x348]
mov dword [ebp - 0x370], edx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x370]
mov dword [ebp - 0x328], eax
lea ecx, [ebp - 0x320]
push ecx
mov ecx, dword [ebp - 0x328]
add ecx, 4
call fcn.0040ebc0
lea edx, [ebp - 0x114]
push edx
mov ecx, dword [ebp - 0x328]
add ecx, 8
call fcn.0040db70
mov eax, dword [ebp - 0x328]
mov byte [eax + 0x10], 6
mov ecx, dword [ebp - 0x318]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1f0]
mov dword [ebp - 0x384], eax
mov ecx, dword [ebp - 0x318]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1e4]
mov dword [ebp - 0x374], eax
lea ecx, [ebp - 0x320]
push ecx
mov ecx, dword [ebp - 0x318]
call dword [ebp - 0x374]
mov dword [ebp - 0x37c], eax
mov edx, dword [ebp - 0x318]
mov eax, dword [edx]
mov ecx, dword [eax + 0x1d8]
mov dword [ebp - 0x378], ecx
lea edx, [ebp - 0x320]
push edx
mov ecx, dword [ebp - 0x318]
call dword [ebp - 0x378]
mov dword [ebp - 0x380], eax
push 1
mov eax, dword [ebp - 0x37c]
push eax
mov ecx, dword [ebp - 0x380]
push ecx
push 0
mov edx, dword [ebp - 0x328]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x318]
call dword [ebp - 0x384]
mov dword [ebp - 0x324], eax
cmp dword [ebp - 0x324], 0
je 0x4046c2
cmp dword [ebp - 0x388], 0
jne 0x404689
push 1
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x318]
call fcn.004031e0
mov edx, dword [ebp - 0x324]
push edx
mov ecx, dword [ebp - 0x318]
call fcn.0040dce0
mov eax, dword [ebp - 0x318]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x188]
mov dword [ebp - 0x38c], edx
mov eax, dword [ebp - 0x324]
push eax
mov ecx, dword [ebp - 0x318]
call dword [ebp - 0x38c]
cmp dword [ebp - 0x34c], 0
je 0x4046f8
mov ecx, dword [ebp - 0x318]
mov edx, dword [ecx]
mov eax, dword [edx + 0x218]
mov dword [ebp - 0x390], eax
mov ecx, dword [ebp - 0x318]
add ecx, 0x1d4
push ecx
mov ecx, dword [ebp - 0x318]
call dword [ebp - 0x390]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x394]
call fcn.0040ed10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x320]
call fcn.0040ed10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x350]
call fcn.0040ed10
mov eax, dword [ebp - 0x324]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0062fc3e
mov esp, ebp
pop ebp
ret 8