Function at 0x446c10
Capabilities:
Create directory
Delete directory

Disassembly:
push 0xffffffffffffffff
push 0x4aeab8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e52f4]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov esi, ecx
call fcn.004463f0
test al, al
jne 0x446f36
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.00446820
mov edi, dword [esp + 0x28]
add esp, 4
cmp edi, ebx
jg 0x446c7e
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.0040a331
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 0x446cab
inc eax
mov dword [esp + 0x1c], eax
mov ebp, 1
cmp eax, ebp
jle 0x446ec5
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 0x446ce3
cmp eax, dword [esi]
jne 0x446ce3
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x446d1e
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 0x446f4c
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.00489d63
add esp, 0x10
add edi, 0x10
mov dword [esp + 0x18], edi
mov byte [esp + 0x34], 4
push 0x4c24e4
call fcn.0048a11b
add esp, 4
push eax
push 0x4c24e4
lea eax, [esp + 0x20]
call fcn.00434240
test ebp, ebp
jl 0x446f51
cmp ebp, dword [esp + 0x24]
jge 0x446f51
mov eax, dword [ebx + ebp*4]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea eax, [esp + 0x20]
call fcn.00434240
mov edi, dword [esp + 0x18]
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x446e53
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp ebx, 0xb7
je 0x446e64
cmp ebp, 1
jle 0x446da2
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 0x446dc5
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 0x446de9
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 0x446e1a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 4
sub edi, 1
jne 0x446df5
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0048a345
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 0x446e68
lea ebx, [esp + 0x18]
call fcn.00444960
mov ebx, dword [esp + 0x20]
push 0x4c24e4
call fcn.0048a11b
add esp, 4
push eax
push 0x4c24e4
lea eax, [esp + 0x1c]
call fcn.00434240
mov eax, dword [ebx + ebp*4]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea eax, [esp + 0x1c]
call fcn.00434240
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 0x446eb6
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 0x446cb8
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 0x446eec
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 0x446f17
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 4
sub edi, 1
jne 0x446ef2
push ebx
call fcn.0048a345
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.0043517f
push 0
push 0
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]