Function at 0x42a460
Capabilities:
Create directory
Delete directory

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4a2188
push eax
mov eax, dword [esp + 0x14]
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov ecx, dword [eax + 0x88]
push edi
cmp ecx, ebx
je 0x42a4a3
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 0xc
mov edi, dword [esp + 0x3c]
mov eax, dword [edi]
cmp dword [eax - 8], ebx
jne 0x42a4c7
pop edi
pop esi
mov eax, 2
pop ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 0xc
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsRootW]
test eax, eax
je 0x42a4eb
pop edi
pop esi
mov eax, 4
pop ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 0xc
mov eax, dword [edi]
cmp dword [eax - 8], 4
jl 0x42a76a
cmp word [eax + 2], 0x3a
jne 0x42a76a
push ebx
push eax
push ebx
mov dword [esp + 0x44], ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
cmp eax, ebx
jne 0x42a581
mov dword [esp + 0x38], 1
mov ecx, dword [0x4b7080]
push ebp
mov dword [esp + 0x10], ebx
mov dword [esp + 0x40], ecx
mov eax, dword [edi]
lea edx, [esp + 0x40]
push edx
push eax
mov ecx, esi
mov dword [esp + 0x38], ebx
call fcn.00430710
mov ebp, dword [esp + 0x38]
mov ebx, dword [sym.imp.MSVCRT.dll_wcscmp]
test eax, eax
je 0x42a5ed
mov esi, dword [ebp + 4]
lea eax, [esp + 0x40]
push eax
mov ecx, ebp
call fcn.0042c3f0
mov ecx, dword [ebp + 4]
mov dword [esp + 0x38], eax
cmp eax, ecx
je 0x42a5d6
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
push eax
push ecx
call ebx
add esp, 8
test eax, eax
jl 0x42a5d6
lea eax, [esp + 0x38]
jmp 0x42a5e1
cmp eax, 0x50
je 0x42a5ad
cmp eax, 0xb7
je 0x42a5ad
sub eax, 5
pop edi
neg eax
sbb eax, eax
pop esi
and al, 0xfc
pop ebx
add eax, 5
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 0xc
push edi
mov ecx, esi
call fcn.0042ae00
test eax, eax
jne 0x42a51b
pop edi
pop esi
mov eax, 5
pop ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 0xc
mov edx, dword [ebp + 4]
lea eax, [esp + 0x14]
mov dword [esp + 0x14], edx
cmp dword [eax], esi
je 0x42a5ed
mov dword [esp + 0x10], 6
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x42a5fe
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x42a722
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx - 8]
test eax, eax
je 0x42a722
mov edi, dword [ebp + 4]
mov ecx, dword [0x4c7238]
mov al, 1
mov esi, dword [edi + 4]
cmp esi, ecx
je 0x42a653
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x40]
push eax
push edx
mov edi, esi
call ebx
add esp, 8
test eax, eax
setl al
test al, al
je 0x42a648
mov esi, dword [esi]
jmp 0x42a64b
mov esi, dword [esi + 8]
cmp esi, dword [0x4c7238]
jne 0x42a62b
mov cl, byte [ebp + 8]
test cl, cl
je 0x42a67c
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x40]
push eax
push ecx
push edi
lea edx, [esp + 0x20]
push esi
push edx
mov ecx, ebp
mov byte [esp + 0x50], 1
call fcn.0042c000
jmp 0x42a705
test al, al
mov dword [esp + 0x38], edi
je 0x42a6c2
lea eax, [esp + 0x3c]
mov ecx, ebp
push eax
call fcn.00441350
mov ecx, dword [esp + 0x38]
mov edx, dword [eax]
cmp ecx, edx
jne 0x42a6b9
lea edx, [esp + 0x3c]
lea eax, [esp + 0x40]
push edx
push eax
push edi
lea ecx, [esp + 0x20]
push esi
push ecx
mov ecx, ebp
mov byte [esp + 0x50], 1
call fcn.0042c000
jmp 0x42a705
lea ecx, [esp + 0x38]
call fcn.0042c520
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x40]
push ecx
mov eax, dword [edx + 0xc]
push eax
call ebx
add esp, 8
test eax, eax
jge 0x42a6f7
lea edx, [esp + 0x3c]
lea eax, [esp + 0x40]
push edx
push eax
push edi
lea ecx, [esp + 0x20]
push esi
push ecx
mov ecx, ebp
mov byte [esp + 0x50], 1
call fcn.0042c000
jmp 0x42a705
lea edx, [esp + 0x3c]
mov byte [esp + 0x3c], 0
push edx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x20]
call fcn.0042b820
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x18]
push ecx
push edx
lea ecx, [esp + 0x28]
call fcn.0042b820
mov eax, dword [esp + 0x40]
mov edx, dword [0x4b7084]
pop ebp
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x42a752
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42a752
mov edx, dword [esp + 0x3c]
add edx, 0xfffffff4
push edx
call fcn.00437568
add esp, 4
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 0xc
mov ecx, dword [esp + 0x24]
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 0xc