Function at 0x4224c0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x597089
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x6073a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], 0
test eax, eax
je 0x4227d4
push eax
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 0
call fcn.00427350
push ecx
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x18]
call fcn.00425110
mov byte [ebp - 4], 1
mov ecx, 1
mov eax, dword [eax]
mov dword [ebp - 0x14], ecx
mov edx, dword [eax - 0xc]
cmp edx, ecx
jne 0x42254c
test edx, edx
jns 0x422546
push 0x80070057
call fcn.00427410
cmp word [eax], 0x5c
je 0x42257f
push ecx
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x18]
call fcn.00425110
mov ecx, 3
mov dword [ebp - 0x14], ecx
mov eax, dword [eax]
mov edx, dword [eax - 0xc]
cmp edx, 1
jne 0x422585
test edx, edx
jns 0x422579
push 0x80070057
call fcn.00427410
cmp word [eax], 0x2f
jne 0x422585
mov byte [ebp - 0x19], 0
jmp 0x422589
mov byte [ebp - 0x19], 1
or edi, 0xffffffff
test cl, 2
je 0x4225b1
mov edx, dword [ebp - 0x20]
and ecx, 0xfffffffd
mov dword [ebp - 0x14], ecx
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4225b1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0
mov eax, edi
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4225d2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x19], 0
je 0x4225e7
push 1
push 0x5f8b18
lea ecx, [ebp - 0x18]
call fcn.00425b60
mov eax, dword [ebp - 0x18]
mov edx, 1
sub edx, dword [eax - 4]
mov ecx, dword [eax - 8]
or ecx, edx
jge 0x422606
push 0
lea ecx, [ebp - 0x18]
call fcn.00427130
mov eax, dword [ebp - 0x18]
push 0x5f83e4
push eax
lea esi, [ebx + 0x498]
push str._s_s_
push esi
call fcn.00425da0
mov eax, dword [esi]
mov ecx, 1
add esp, 0x10
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
or eax, ecx
jge 0x42263a
push 0
mov ecx, esi
call fcn.00427130
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
cmp eax, 0x10
je 0x42266b
mov eax, dword [esi]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
or eax, ecx
jge 0x422661
push 0
mov ecx, esi
call fcn.00427130
push 0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push ecx
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
call fcn.004250b0
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 2
mov edx, 1
mov ecx, dword [eax]
sub edx, dword [ecx - 4]
mov ecx, dword [ecx - 8]
or ecx, edx
jge 0x42269b
push 0
mov ecx, eax
call fcn.00427130
mov eax, dword [ebp - 0x24]
push dword [eax]
lea eax, [ebp - 0x20]
push eax
call fcn.004237d0
lea ecx, [ebx + 0x49c]
mov byte [ebp - 4], 3
push eax
call fcn.004254f0
mov byte [ebp - 4], 2
mov eax, edi
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4226d4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, edi
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4226f2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebx + 0x468], 0
je 0x422722
mov eax, dword [esi]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
or eax, ecx
jge 0x422715
push 0
mov ecx, esi
call fcn.00427130
mov ecx, dword [ebx + 0x468]
push dword [esi]
mov eax, dword [ecx]
call dword [eax + 0x2c]
cmp dword [ebx + 0x46c], 0
je 0x4227b5
call fcn.00427660
mov ecx, eax
test ecx, ecx
jne 0x422744
push 0x80004005
call fcn.00427410
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 4
lea eax, [ebp - 0x14]
push dword [ebx + 0x49c]
push str.11.11MB
push 0x5f8550
push eax
call fcn.00425da0
mov esi, dword [ebp - 0x14]
mov ecx, 1
add esp, 0x10
sub ecx, dword [esi - 4]
mov eax, dword [esi - 8]
or eax, ecx
jge 0x42278e
push 0
lea ecx, [ebp - 0x14]
call fcn.00427130
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebx + 0x46c]
push esi
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4227b5
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x4227d4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c8d78
mov esp, ebp
pop ebp
ret 4