Function at 0x426040
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ba625
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4f6040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
call fcn.00425930
test al, al
je 0x426087
xor eax, eax
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 dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathIsUNCW]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 0
mov edx, esi
lea ecx, [ebp - 0x2c]
call fcn.00425b30
cmp dword [ebp - 0x28], 0
jle 0x426265
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
sub ecx, 0x10
call fcn.0040c920
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 2
xor eax, eax
mov ecx, dword [ebp - 0x28]
dec ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], ecx
lea ebx, [eax + 1]
cmp ecx, ebx
jle 0x42619e
lea ecx, [esi - 0x10]
call fcn.0040c920
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14]
push 1
push 0x4d756c
call fcn.0040c830
test ebx, ebx
js 0x426265
cmp ebx, dword [ebp - 0x28]
jge 0x426265
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x14]
mov eax, dword [eax + ebx*4]
push dword [eax - 0xc]
push eax
call fcn.0040c830
mov edi, dword [ebp - 0x14]
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4261f3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
cmp eax, 0xb7
je 0x426205
cmp dword [ebp - 0x1c], 1
je 0x426205
cmp ebx, 1
jle 0x426173
lea ecx, [ebp - 0x10]
call fcn.004256f0
mov byte [ebp - 4], 2
lea ecx, [edi - 0x10]
or eax, 0xffffffff
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x42619b
mov ebx, dword [ecx]
push ecx
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x4c83a0]
mov ecx, ebx
call edi
mov eax, dword [ebp - 0x18]
xor ebx, ebx
cmp eax, 0xb7
cmovne ebx, eax
mov byte [ebp - 4], 0
lea ecx, [esi - 0x10]
or eax, 0xffffffff
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4261d0
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4c83a0]
mov ecx, edi
call esi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00427010
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
test eax, eax
je 0x426205
lea ecx, [ebp - 0x14]
push ecx
mov ecx, eax
call fcn.00426410
push 1
push 0x4d756c
lea ecx, [ebp - 0x10]
call fcn.0040c830
cmp ebx, dword [ebp - 0x28]
jge 0x426265
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x10]
mov eax, dword [eax + ebx*4]
push dword [eax - 0xc]
push eax
call fcn.0040c830
mov byte [ebp - 4], 2
lea ecx, [edi - 0x10]
or eax, 0xffffffff
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x426253
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4c83a0]
mov ecx, edi
call esi
mov esi, dword [ebp - 0x10]
inc ebx
cmp ebx, dword [ebp - 0x20]
jge 0x42619b
jmp 0x4260f0
push 0x8000000b
call fcn.0040b700
int3