Function at 0x44bd68
Capabilities:
Create directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov ebx, edx
xor esi, esi
mov dword [ebp - 4], ebx
mov dword [ebp - 8], esi
push edi
mov edi, esi
test ebx, ebx
je 0x44bf92
push esi
push esi
push 0x402d04
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0xc], edi
test edi, edi
jne 0x44be03
mov ecx, dword [0x46a020]
mov ebx, 0x80070000
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
cmp ecx, 0x46a020
je 0x44bdee
test byte [ecx + 0x1c], 8
je 0x44bdee
cmp byte [ecx + 0x19], 2
jb 0x44bdee
call esi
test eax, eax
jle 0x44bdcd
movzx eax, ax
or eax, ebx
push eax
push ecx
call fcn.00411040
pop ecx
push eax
mov eax, dword [0x46a020]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x24
mov edx, 0x408ab4
pop ecx
call fcn.00412c68
call esi
mov esi, eax
test esi, esi
jle 0x44bdfb
movzx esi, si
or esi, ebx
mov ebx, dword [ebp - 4]
jmp 0x44bf97
push 0x4089c8
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x44be59
mov eax, dword [0x46a020]
mov ebx, 0x80070000
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x46a020
je 0x44bdee
test byte [eax + 0x1c], 8
je 0x44bdee
cmp byte [eax + 0x19], 2
jb 0x44bdee
call esi
test eax, eax
jle 0x44be41
movzx eax, ax
or eax, ebx
push eax
push ecx
call fcn.00411040
pop ecx
push eax
mov eax, dword [0x46a020]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x25
jmp 0x44bde3
lea ecx, [ebp - 8]
push ecx
push esi
push esi
push 0x406e3c
call eax
mov esi, eax
test esi, esi
jns 0x44beab
mov eax, dword [0x46a020]
cmp eax, 0x46a020
je 0x44bf97
test byte [eax + 0x1c], 8
je 0x44bf97
cmp byte [eax + 0x19], 2
jb 0x44bf97
push esi
push 0x4089e0
call fcn.00411040
push eax
mov eax, dword [0x46a020]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x26
jmp 0x44bf04
push dword [ebp - 8]
push 0x408a10
push 0x104
push ebx
call fcn.004145d2
mov esi, eax
add esp, 0x10
test esi, esi
jns 0x44bf14
mov eax, dword [0x46a020]
cmp eax, 0x46a020
je 0x44bf97
test byte [eax + 0x1c], 8
je 0x44bf97
cmp byte [eax + 0x19], 2
jb 0x44bf97
push esi
push 0x408a20
call fcn.00411040
push eax
mov eax, dword [0x46a020]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x27
mov edx, 0x408ab4
pop ecx
call fcn.00410eec
jmp 0x44bf97
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x44bf97
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 0xb7
je 0x44bf8d
mov eax, dword [0x46a020]
mov ebx, 0x80070000
cmp eax, 0x46a020
je 0x44bf7d
test byte [eax + 0x1c], 8
je 0x44bf7d
cmp byte [eax + 0x19], 2
jb 0x44bf7d
test edi, edi
jg 0x44bf56
mov eax, edi
jmp 0x44bf5b
movzx eax, di
or eax, ebx
push eax
push dword [ebp - 4]
call fcn.00411040
push eax
mov eax, dword [0x46a020]
mov edx, 0x408ab4
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x28
pop ecx
call fcn.0041d87e
test edi, edi
jg 0x44bf85
mov esi, edi
jmp 0x44bf8a
movzx esi, di
or esi, ebx
mov ebx, dword [ebp - 4]
mov edi, dword [ebp - 0xc]
jmp 0x44bf97
mov esi, 0x80070057
test esi, esi
jns 0x44bfa4
test ebx, ebx
je 0x44bfa4
xor eax, eax
mov word [ebx], ax
cmp dword [ebp - 8], 0
je 0x44bfb3
push dword [ebp - 8]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
test edi, edi
je 0x44bfbe
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret