Function at 0x40daf0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66a655
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x71cf78]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x38]
call fcn.0044128d
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0
call fcn.00414bc0
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 1
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x14], eax
call fcn.00423a7b
mov ecx, eax
test ecx, ecx
je 0x40dd9c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push 0x690b3c
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00402ad0
test al, al
jne 0x40db7e
push 1
push 0x690b3c
lea ecx, [ebp - 0x10]
call fcn.00408790
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x20]
call fcn.0040a060
mov edx, dword [ebp - 0x10]
or ebx, 0xffffffff
mov byte [ebp - 4], 1
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40dbaf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
mov esi, esp
mov dword [ebp - 0x14], esi
call fcn.00423a7b
test eax, eax
je 0x40dd9c
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi], eax
mov edi, dword [ebp + 8]
mov ecx, esi
push edi
mov byte [ebp - 4], 4
call fcn.00402ad0
test al, al
jne 0x40dc02
test edi, edi
jne 0x40dbe9
xor ecx, ecx
jmp 0x40dbf9
mov ecx, edi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40dbf0
sub ecx, edx
push ecx
push edi
mov ecx, esi
call fcn.00408790
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.004153a0
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x24]
call fcn.00414df0
cmp dword [ebp - 0x30], 2
jne 0x40dd76
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], eax
call fcn.00423a7b
mov ecx, eax
test ecx, ecx
je 0x40dda6
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push 0x690b4c
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call fcn.00402ad0
test al, al
jne 0x40dc68
push 1
push 0x690b4c
lea ecx, [ebp - 0x10]
call fcn.00408790
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x20]
call fcn.0040a060
mov edx, dword [ebp - 0x10]
mov eax, ebx
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40dc96
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x30], 0
jle 0x40ddb0
push ecx
mov esi, esp
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00407710
add esp, 4
lea ecx, [ebp - 0x24]
add eax, 0x10
mov dword [esi], eax
call fcn.004153a0
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x38]
call fcn.00441890
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x24]
call fcn.00414df0
call fcn.00423a7b
mov ecx, eax
test ecx, ecx
je 0x40dd9c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x30]
xor esi, esi
mov byte [ebp - 4], 7
lea ecx, [edx - 1]
test ecx, ecx
jle 0x40dd56
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
nop dword [eax]
test esi, esi
js 0x40ddb0
cmp esi, edx
jge 0x40ddb0
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x10]
mov eax, dword [eax + esi*4]
push dword [eax - 0xc]
push eax
call fcn.0040b8b0
push 0
push dword [ebp - 0x10]
call edi
push 1
push 0x690b4c
lea ecx, [ebp - 0x10]
call fcn.0040b8b0
mov edx, dword [ebp - 0x30]
inc esi
lea eax, [edx - 1]
cmp esi, eax
jl 0x40dd10
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 1
lea edx, [eax - 0x10]
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x40dd6f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, 1
jmp 0x40dd78
xor esi, esi
lea ecx, [ebp - 0x24]
call fcn.00414d20
lea ecx, [ebp - 0x38]
call fcn.004412a4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004020e0
push 0x80004005
call fcn.004020e0
call fcn.004208a2
int3