Function at 0x44e460
Capabilities:
Access peb ldr_data
Create directory
Delete directory
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x214]
push ebx
lea ebx, [ebp - 0x110]
sub esp, 0x220
mov dword [esp + 4], ebx
mov dword [esp], 0x104
call dword [sym.imp.kernel32.dll_GetTempPathA]
sub esp, 8
mov dword [esp], ebx
call sub.msvcrt.dll_strlen
add eax, ebx
mov dword [eax], 0x61656c50
mov dword [eax + 4], 0x52206573
mov dword [eax + 8], 0x766f6d65
mov dword [eax + 0xc], 0x654d2065
mov byte [eax + 0x10], 0
mov dword [esp + 4], 0
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
sub esp, 8
mov esi, eax
call fcn.0057d110
mov dword [eax], 0x594e33
mov dword [eax + 4], 0x1c8
xor eax, eax
cmp esi, 1
sete al
mov dword [esp + 4], str.CreateDirectoryA_should_always_succeed_n
mov dword [esp], eax
mov esi, dword fs:[0x18]
call fcn.0044df00
mov dword [esp + 4], edi
mov dword [esp], 0x104
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryA]
sub esp, 8
call fcn.0057d110
mov ecx, dword [sym.imp.kernel32.dll_SetCurrentDirectoryA]
mov dword [eax], 0x594e33
mov dword [eax + 4], 0x1cb
mov dword [esp], ebx
mov dword [ebp - 0x21c], ecx
call ecx
sub esp, 4
mov dword [esp], eax
mov dword [esp + 4], 0x59501c
call fcn.0044df00
mov dword [esi + 0x34], 0xdeadbeef
call fcn.0057d110
mov dword [eax], 0x594e33
mov dword [eax + 4], 0x1ce
mov eax, dword [sym.imp.kernel32.dll_RemoveDirectoryA]
mov dword [esp], ebx
mov dword [ebp - 0x218], eax
call eax
sub esp, 4
test eax, eax
sete al
mov dword [esp + 4], str.RemoveDirectoryA_succeeded_n
movzx eax, al
mov dword [esp], eax
call fcn.0044df00
call fcn.0057d110
mov dword [eax], 0x594e33
mov dword [eax + 4], 0x1cf
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.Expected_ERROR_SHARING_VIOLATION__got__lu_n
mov dword [esp + 8], eax
xor eax, eax
cmp dword [esi + 0x34], 0x20
sete al
mov dword [esp], eax
call fcn.0044df00
mov eax, dword [esi + 0x30]
mov edx, 0x1d2
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x2c]
call fcn.0044e3b0
mov dword [esp], edi
mov ecx, dword [ebp - 0x21c]
call ecx
sub esp, 4
mov dword [esp], ebx
mov eax, dword [ebp - 0x218]
call eax
sub esp, 4
mov edi, eax
call fcn.0057d110
mov dword [eax], 0x594e33
mov dword [eax + 4], 0x1d7
xor eax, eax
cmp edi, 1
sete al
mov dword [esp + 4], str.RemoveDirectoryA_should_always_succeed_n
mov dword [esp], eax
call fcn.0044df00
mov dword [esp], ebx
call sub.msvcrt.dll_strlen
mov edx, 0x3f
mov word [ebx + eax], dx
mov dword [esp], ebx
mov eax, dword [ebp - 0x218]
call eax
sub esp, 4
mov edi, eax
call fcn.0057d110
mov dword [eax], 0x594e33
mov dword [eax + 4], 0x1db
mov edx, dword [esi + 0x34]
test edi, edi
jne 0x44e670
cmp edx, 0x7b
je 0x44e720
xor eax, eax
cmp edx, 3
mov ecx, str.False
sete al
jmp 0x44e677
mov ecx, str._True
xor eax, eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp], eax
mov dword [esp + 4], str.RemoveDirectoryA_with___wildcard_name_should_fail__ret_s_error_ld_n
call fcn.0044df00
mov dword [esp], ebx
call dword [sym.imp.msvcrt.dll_strlen]
mov byte [ebp + eax - 0x111], 0x2a
mov dword [esp], ebx
mov eax, dword [ebp - 0x218]
call eax
sub esp, 4
mov ebx, eax
call fcn.0057d110
mov dword [eax], 0x594e33
mov dword [eax + 4], 0x1e2
mov eax, dword fs:[0x18]
mov ecx, dword [eax + 0x34]
test ebx, ebx
jne 0x44e6e8
cmp ecx, 0x7b
je 0x44e710
xor eax, eax
cmp ecx, 3
mov edx, str.False
sete al
jmp 0x44e6ef
mov edx, str._True
xor eax, eax
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
mov dword [esp + 4], str.RemoveDirectoryA_with__wildcard_name_should_fail__ret_s_error_ld_n
mov dword [esp], eax
call fcn.0044df00
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, str.False
mov eax, 1
jmp 0x44e6ef
mov ecx, str.False
mov eax, 1
jmp 0x44e677