Function at 0x435910
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x4f1d9d
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x52f4a8]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x52f4a8]
xor eax, esp
push eax
lea eax, [esp + 0x130]
mov dword fs:[0], eax
mov dword [esp + 0x138], 0
mov ebx, dword [sym.imp.LibDui.dll_public:_int___thiscall_DuiLib::CDuiString::GetLength_void_const]
lea ecx, [esp + 0x140]
call ebx
mov edi, eax
cmp edi, 2
lea ecx, [esp + 0x140]
jge 0x435989
mov dword [esp + 0x138], 0xffffffff
call dword [sym.imp.LibDui.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
jmp 0x435b90
lea ebp, [edi - 1]
push ebp
call dword [sym.imp.LibDui.dll_public:_wchar_t___thiscall_DuiLib::CDuiString::operator___int_const]
mov esi, dword [sym.imp.LibDui.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
mov ecx, 0x5c
cmp cx, ax
jne 0x4359e5
push ebp
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x148]
call dword [sym.imp.LibDui.dll_public:_class_DuiLib::CDuiString___thiscall_DuiLib::CDuiString::Left_int_]
push eax
lea ecx, [esp + 0x144]
mov byte [esp + 0x13c], 1
call dword [sym.imp.LibDui.dll_public:_class_DuiLib::CDuiString_const____thiscall_DuiLib::CDuiString::operator_class_DuiLib::CDuiString_const__]
lea ecx, [esp + 0x24]
mov byte [esp + 0x138], 0
call esi
lea ecx, [esp + 0x140]
call ebx
mov edi, eax
xor ebp, ebp
cmp edi, ebp
jle 0x435b7c
sub esp, 0x84
cmp edi, 3
mov ecx, esp
mov dword [esp + 0x98], esp
jg 0x435a40
lea eax, [esp + 0x1c4]
push eax
call dword [sym.imp.LibDui.dll_public:_void___thiscall_DuiLib::CDuiString::constructor_class_DuiLib::CDuiString_const__]
call fcn.004358a0
add esp, 0x84
mov dword [esp + 0x138], 0xffffffff
lea ecx, [esp + 0x140]
cmp eax, ebp
je 0x435b8e
call esi
lea eax, [ebp + 1]
jmp 0x435b92
mov edi, dword [sym.imp.LibDui.dll_public:_void___thiscall_DuiLib::CDuiString::constructor_class_DuiLib::CDuiString_const__]
lea edx, [esp + 0x1c4]
push edx
call edi
call fcn.004358a0
add esp, 0x84
cmp eax, ebp
je 0x435a7d
lea ecx, [esp + 0x140]
mov dword [esp + 0x138], 0xffffffff
call esi
mov eax, 1
jmp 0x435b92
lea ecx, [esp + 0xa8]
call dword [sym.imp.LibDui.dll_public:_void___thiscall_DuiLib::CDuiString::constructor_void_]
push 0x5c
lea ecx, [esp + 0x144]
mov byte [esp + 0x13c], 2
call dword [sym.imp.LibDui.dll_public:_int___thiscall_DuiLib::CDuiString::ReverseFind_wchar_t_const]
push eax
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x148]
call dword [sym.imp.LibDui.dll_public:_class_DuiLib::CDuiString___thiscall_DuiLib::CDuiString::Left_int_]
push eax
lea ecx, [esp + 0xac]
mov byte [esp + 0x13c], 3
call dword [sym.imp.LibDui.dll_public:_class_DuiLib::CDuiString_const____thiscall_DuiLib::CDuiString::operator_class_DuiLib::CDuiString_const__]
lea ecx, [esp + 0x24]
mov byte [esp + 0x138], 2
call esi
lea ecx, [esp + 0xa8]
call ebx
test eax, eax
jle 0x435b6b
sub esp, 0x84
lea edx, [esp + 0x12c]
mov ecx, esp
mov dword [esp + 0x98], esp
push edx
call edi
call fcn.00435910
add esp, 0x84
cmp eax, ebp
je 0x435b6b
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x144]
mov dword [esp + 0x1c], 0xc
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
call dword [sym.imp.LibDui.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edi, eax
dec edi
neg edi
sbb edi, edi
lea ecx, [esp + 0xa8]
inc edi
mov byte [esp + 0x138], 0
call esi
lea ecx, [esp + 0x140]
mov dword [esp + 0x138], 0xffffffff
call esi
mov eax, edi
jmp 0x435b92
lea ecx, [esp + 0xa8]
mov byte [esp + 0x138], 0
call esi
lea ecx, [esp + 0x140]
mov dword [esp + 0x138], 0xffffffff
call esi
xor eax, eax
mov ecx, dword [esp + 0x130]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.00476680
add esp, 0x128
ret