Function at 0x443d10
Capabilities:
Create directory
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], ecx
mov esi, edi
mov dword [ebp - 0x14], edi
or eax, 0xffffffff
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x10], eax
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x443d33
push 4
sub esi, ecx
push 0x76538c
push edi
sar esi, 1
call fcn.006af9d2
add esp, 0xc
mov ebx, eax
neg ebx
sbb ebx, ebx
add ebx, 1
jne 0x443da9
cmp esi, 3
jl 0x443d8e
movzx eax, word [edi]
cmp eax, 0x61
jb 0x443d6f
cmp eax, 0x7a
jbe 0x443d79
cmp eax, 0x41
jb 0x443d8e
cmp eax, 0x5a
ja 0x443d8e
cmp word [edi + 2], 0x3a
jne 0x443d8e
movzx eax, word [edi + 4]
cmp eax, 0x5c
je 0x443da9
cmp eax, 0x2f
je 0x443da9
mov eax, dword [ebp - 4]
mov dword [eax + 0x48], 0xfffff019
mov dword [eax + 0xf0], 0x32
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esi*4 + 0x20]
push eax
call fcn.006a66fd
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
test esi, esi
jne 0x443dcf
mov edx, str.malloc
lea ecx, [eax + 0xe]
call fcn.0044c080
push 4
lea edi, [esi + 0x10]
push 0x765374
push edi
call fcn.006af30a
lea edx, [ebx*4]
mov dword [ebp - 8], 0x5c
mov ebx, dword [ebp - 0x14]
xor esi, esi
add esp, 0xc
mov dword [ebp - 0xc], edx
mov eax, edx
mov ecx, 4
mov dword [ebp - 0x14], eax
cmp word [ebx + edx*2], si
je 0x443e4e
lea eax, [ebx + eax*2]
nop dword [eax + eax]
movzx edx, word [eax]
cmp edx, 0x5c
je 0x443e35
cmp edx, 0x2f
je 0x443e35
test esi, esi
je 0x443e2b
mov edx, dword [ebp - 8]
mov word [edi + ecx*2], dx
inc ecx
xor esi, esi
mov ax, word [eax]
mov word [edi + ecx*2], ax
inc ecx
jmp 0x443e3a
mov esi, 1
mov eax, dword [ebp - 0x14]
inc eax
cmp word [ebx + eax*2], 0
mov dword [ebp - 0x14], eax
lea eax, [ebx + eax*2]
jne 0x443e10
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov esi, dword [ebp - 0x18]
mov word [edi + ecx*2], ax
inc ecx
xor eax, eax
mov word [esi + 8], ax
lea eax, [ecx + ecx]
mov word [esi + 0xa], ax
xor eax, eax
mov word [edi + ecx*2], ax
xor esi, esi
inc ecx
mov eax, ecx
mov dword [ebp - 0x14], eax
cmp word [ebx + edx*2], si
je 0x443ebe
lea eax, [ebx + edx*2]
nop dword [eax]
movzx edx, word [eax]
cmp edx, 0x5c
je 0x443ea5
cmp edx, 0x2f
je 0x443ea5
test esi, esi
je 0x443e9b
mov edx, dword [ebp - 8]
mov word [edi + ecx*2], dx
inc ecx
xor esi, esi
mov ax, word [eax]
mov word [edi + ecx*2], ax
inc ecx
jmp 0x443eaa
mov esi, 1
mov eax, dword [ebp - 0xc]
inc eax
cmp word [ebx + eax*2], 0
mov dword [ebp - 0xc], eax
lea eax, [ebx + eax*2]
jne 0x443e80
mov eax, dword [ebp - 0x14]
mov edx, ecx
sub edx, eax
cmp edx, 2
jne 0x443ed4
mov edx, dword [ebp - 8]
mov word [edi + ecx*2], dx
inc ecx
mov edx, 3
mov ebx, dword [ebp - 0x18]
add eax, eax
mov esi, dword [ebp + 8]
mov word [ebx + 0xc], ax
lea eax, [edx + edx]
mov word [ebx + 0xe], ax
xor eax, eax
mov word [edi + ecx*2], ax
lea edi, [ecx*2 + 0x12]
lea eax, [edi - 8]
mov dword [ebx], 0xa0000003
mov word [ebx + 4], ax
xor eax, eax
push eax
push esi
mov word [ebx + 6], ax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x443f57
push 0
push 0x2200000
push 3
push 0
push 0
push 0x40000000
push esi
mov dword [ebp - 0x1c], 1
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
je 0x443f57
push 0
lea ecx, [ebp - 0x20]
push ecx
push 0
push 0
push edi
push ebx
push 0x900a4
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x443f9c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 4]
mov ecx, eax
mov dword [edx + 0xf0], eax
call fcn.0044c110
mov dword [edx + 0x48], eax
push ebx
call fcn.006a389b
mov eax, dword [ebp - 0x10]
add esp, 4
cmp eax, 0xffffffff
je 0x443f88
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x1c], 0
je 0x443fb9
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call fcn.006a389b
mov edx, dword [ebp - 4]
add esp, 4
mov dword [edx + 0x48], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret