Function at 0x5d6bd0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x706542
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x831704]
xor eax, esp
mov dword [esp + 0xe4], eax
push ebx
push esi
push edi
mov eax, dword [0x831704]
xor eax, esp
push eax
lea eax, [esp + 0xf8]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x108]
cmp dword [ebx + 0x14], 8
jb 0x5d6c1b
mov eax, dword [ebx]
jmp 0x5d6c1d
mov eax, ebx
test eax, eax
mov dword [esp + 0x60], 7
mov edx, 0x7bf4e8
mov dword [esp + 0x5c], 0
cmovne edx, eax
xor eax, eax
mov word [esp + 0x4c], ax
cmp word [edx], ax
jne 0x5d6c47
xor ecx, ecx
jmp 0x5d6c5f
mov ecx, edx
lea esi, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5d6c50
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x54]
call fcn.00419290
cmp dword [esp + 0x60], 8
lea eax, [esp + 0x4c]
mov dword [esp + 0x64], 0
cmovae eax, dword [esp + 0x4c]
push eax
call dword [sym.imp.MSVCR120.dll__wmkdir]
push dword [esp + 0x68]
mov edi, dword [sym.imp.MSVCR120.dll_free]
test eax, eax
setne byte [esp + 0x1b]
call edi
add esp, 8
cmp dword [esp + 0x60], 8
jb 0x5d6cb0
push dword [esp + 0x4c]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp byte [esp + 0x13], 0
je 0x5d6faa
sub esp, 0x20
mov ecx, esp
push 0x721844
call fcn.00418040
push 1
call fcn.00439d10
add esp, 0x24
test al, al
je 0x5d6fa6
push str.Directory__s_couldnt_be_created
lea ecx, [esp + 0xd8]
call fcn.00418040
xor eax, eax
mov dword [esp + 0x100], 0
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
mov dword [esp + 0x44], eax
mov byte [esp + 0x100], 1
call fcn.005eae80
test eax, eax
je 0x5d6d3e
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0xd8]
push ecx
mov ecx, eax
call fcn.005ecae0
mov esi, eax
test esi, esi
jne 0x5d6d50
lea eax, [esp + 0xd4]
push eax
call fcn.005ed1e0
add esp, 4
mov esi, eax
call fcn.005c92f0
mov dword [esp + 0x18], eax
mov byte [esp + 0x100], 2
call fcn.005c92f0
mov dword [esp + 0x1c], eax
mov byte [esp + 0x100], 3
call fcn.005c92f0
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], 0
push str.wx.sys_error
lea ecx, [esp + 0xb8]
mov byte [esp + 0x104], 4
call fcn.00418040
sub esp, 0x20
mov byte [esp + 0x120], 5
mov esi, esp
mov dword [esp + 0x34], esp
xor eax, eax
mov ecx, esi
push 0xffffffffffffffff
push eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
push ebx
mov word [esi], ax
call fcn.00419170
mov dword [esi + 0x18], 0
push 0
mov byte [esp + 0x124], 6
mov dword [esp + 0x90], 1
mov dword [esp + 0x98], str....._srccommon_filefn.cpp
mov dword [esp + 0xa0], str.wxMkdir
mov dword [esp + 0x9c], 0x4e2
mov dword [esp + 0xa4], 0x721844
call dword [sym.imp.MSVCR120.dll__time64]
add esp, 4
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], edx
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [esp + 0xac], eax
xor eax, eax
mov dword [esp + 0xb0], 0
mov dword [esp + 0xc8], 7
mov dword [esp + 0xc4], 0
mov word [esp + 0xb4], ax
mov dword [esp + 0xcc], eax
mov byte [esp + 0x120], 7
lea eax, [esp + 0x38]
push eax
call sub.KERNEL32.dll_GetLastError
push eax
lea eax, [esp + 0xdc]
push eax
lea ecx, [esp + 0x98]
call fcn.0049dde0
mov ecx, eax
mov byte [esp + 0x124], 8
call fcn.00482da0
push dword [esp + 0xac]
mov byte [esp + 0x104], 5
call edi
add esp, 4
cmp dword [esp + 0xa8], 8
jb 0x5d6ecf
push dword [esp + 0x94]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov dword [esp + 0xa8], 7
lea ecx, [esp + 0x74]
mov dword [esp + 0xa4], 0
mov word [esp + 0x94], ax
call fcn.00439c40
push dword [esp + 0xcc]
call edi
add esp, 4
cmp dword [esp + 0xc8], 8
jb 0x5d6f1d
push dword [esp + 0xb4]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov dword [esp + 0xc8], 7
lea ecx, [esp + 0x18]
mov dword [esp + 0xc4], 0
mov word [esp + 0xb4], ax
mov byte [esp + 0x100], 1
call fcn.00420020
push dword [esp + 0x44]
call edi
add esp, 4
cmp dword [esp + 0x40], 8
jb 0x5d6f6a
push dword [esp + 0x2c]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
push dword [esp + 0xec]
xor eax, eax
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], 0
mov word [esp + 0x30], ax
call edi
add esp, 4
cmp dword [esp + 0xe8], 8
jb 0x5d6fa6
push dword [esp + 0xd4]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
xor al, al
jmp 0x5d6fac
mov al, 1
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xe4]
xor ecx, esp
call fcn.006d1ba7
add esp, 0xf4
ret