Function at 0x444860
Capabilities:
Create directory
Delete directory

Disassembly:
push 0xffffffffffffffff
push 0x4a4158
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d7488]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov esi, ecx
call fcn.00444040
test al, al
jne 0x444b86
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x34], ebx
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call fcn.00444470
mov edi, dword [esp + 0x28]
add esp, 4
cmp edi, ebx
jg 0x4448ce
push ebx
push ebx
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]
mov ebx, dword [esp + 0x20]
mov eax, dword [ebx]
sub eax, 0x10
call fcn.00409c07
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x34], 2
cmp byte [esp + 0x3c], 0
lea eax, [edi - 1]
mov dword [esp + 0x1c], eax
je 0x4448fb
inc eax
mov dword [esp + 0x1c], eax
mov ebp, 1
cmp eax, ebp
jle 0x444b15
mov esi, dword [esp + 0x14]
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add esi, 0xfffffff0
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x444933
cmp eax, dword [esi]
jne 0x444933
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x44496e
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x444b9c
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.00482bc3
add esp, 0x10
add edi, 0x10
mov dword [esp + 0x18], edi
mov byte [esp + 0x34], 4
push 0x4b7910
call fcn.00482f7b
add esp, 4
push eax
push 0x4b7910
lea eax, [esp + 0x20]
call fcn.0043164c
test ebp, ebp
jl 0x444ba1
cmp ebp, dword [esp + 0x24]
jge 0x444ba1
mov eax, dword [ebx + ebp*4]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea eax, [esp + 0x20]
call fcn.0043164c
mov edi, dword [esp + 0x18]
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x444aa3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp ebx, 0xb7
je 0x444ab4
cmp ebp, 1
jle 0x4449f2
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov byte [esp + 0x34], 2
lea eax, [edi - 0x10]
or ebp, 0xffffffff
lea edx, [eax + 0xc]
mov ecx, ebp
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x444a15
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x34], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x444a39
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x34], ebp
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x34], ebp
mov eax, dword [esi]
sub eax, 0x10
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x444a6a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 4
sub edi, 1
jne 0x444a45
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004831a5
add esp, 4
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov eax, ebx
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
mov esi, dword [esp + 0x40]
test esi, esi
je 0x444ab8
lea ebx, [esp + 0x18]
call fcn.004420b0
mov ebx, dword [esp + 0x20]
push 0x4b7910
call fcn.00482f7b
add esp, 4
push eax
push 0x4b7910
lea eax, [esp + 0x1c]
call fcn.0043164c
mov eax, dword [ebx + ebp*4]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea eax, [esp + 0x1c]
call fcn.0043164c
mov byte [esp + 0x34], 2
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x444b06
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
inc ebp
cmp ebp, dword [esp + 0x1c]
jl 0x444908
mov edi, dword [esp + 0x24]
mov byte [esp + 0x34], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
or ebp, 0xffffffff
lea edx, [eax + 0xc]
mov ecx, ebp
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x444b3c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x34], ebp
mov esi, ebx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x34], ebp
mov eax, dword [esi]
sub eax, 0x10
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x444b67
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 4
sub edi, 1
jne 0x444b42
push ebx
call fcn.004831a5
add esp, 4
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
xor eax, eax
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
call fcn.004324e9
push 0
push 0
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]