Function at 0x42ca50
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x46dee4
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x490018]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x490018]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov esi, ecx
push esi
lea eax, [esp + 0x38]
push eax
call fcn.00406360
lea ecx, [esp + 0x34]
mov dword [esp + 0x78], 0
call fcn.0042e330
push esi
call fcn.0042c9a0
add esp, 4
test eax, eax
je 0x42cab7
lea ecx, [esp + 0x34]
push ecx
jmp 0x42cc21
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.00405fe0
xor esi, esi
mov byte [esp + 0x78], 1
lea ebx, [esi + 8]
cmp dword [esp + 0x48], esi
jbe 0x42cb0f
jmp 0x42cae0
push esi
lea ecx, [esp + 0x38]
call dword [sym.imp.MSVCP90.dll_public:_wchar_t____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::at_unsigned_int_]
cmp word [eax], 0x2f
jne 0x42cb08
mov eax, dword [esp + 0x38]
cmp dword [esp + 0x4c], ebx
jae 0x42caff
lea eax, [esp + 0x38]
mov ecx, 0x5c
mov word [eax + esi*2], cx
inc esi
cmp esi, dword [esp + 0x48]
jb 0x42cae0
xor esi, esi
lea ebp, [esi + 1]
push esi
push 0x5c
lea ecx, [esp + 0x3c]
call dword [sym.imp.MSVCP90.dll_public:_unsigned_int___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::find_wchar_t__unsigned_int_const]
mov edx, dword [sym.imp.MSVCP90.dll_unsigned_int_const_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::npos]
cmp eax, dword [edx]
jne 0x42cb30
or esi, 0xffffffff
jmp 0x42cb32
mov esi, eax
test ebp, ebp
je 0x42cb83
cmp dword [esp + 0x48], 2
jbe 0x42cb82
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x38]
mov ecx, eax
cmp edx, ebx
jae 0x42cb4f
lea ecx, [esp + 0x38]
cmp word [ecx], 0x5c
jne 0x42cb82
cmp edx, ebx
jae 0x42cb5d
lea eax, [esp + 0x38]
cmp word [eax + 2], 0x5c
jne 0x42cb82
push 2
push 0x5c
lea ecx, [esp + 0x3c]
call dword [sym.imp.MSVCP90.dll_public:_unsigned_int___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::find_wchar_t__unsigned_int_const]
inc eax
push eax
push 0x5c
lea ecx, [esp + 0x3c]
call dword [sym.imp.MSVCP90.dll_public:_unsigned_int___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::find_wchar_t__unsigned_int_const]
mov esi, eax
inc esi
cmp esi, 0xffffffff
je 0x42cbf7
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x1c]
mov eax, edx
cmp ecx, ebx
jae 0x42cb9a
lea eax, [esp + 0x1c]
movzx edi, word [eax + esi*2]
mov eax, edx
cmp ecx, ebx
jae 0x42cba8
lea eax, [esp + 0x1c]
xor ecx, ecx
mov word [eax + esi*2], cx
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x30], ebx
jae 0x42cbbc
lea eax, [esp + 0x1c]
push eax
call fcn.0042c9a0
add esp, 4
test eax, eax
jne 0x42cbe4
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x30], ebx
jae 0x42cbd7
lea eax, [esp + 0x1c]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x42cc52
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x30], ebx
jae 0x42cbf2
lea eax, [esp + 0x1c]
mov word [eax + esi*2], di
inc esi
test ebp, ebp
je 0x42cbfe
dec esi
xor ebp, ebp
cmp esi, 0xffffffff
je 0x42cc0d
cmp esi, dword [esp + 0x48]
jb 0x42cb14
lea ecx, [esp + 0x18]
push ecx
mov byte [esp + 0x7c], 0
call fcn.00406490
lea edx, [esp + 0x34]
push edx
mov dword [esp + 0x7c], 0xffffffff
call fcn.004063d0
mov eax, 1
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.00428cb4
add esp, 0x68
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.0042c730
lea edx, [esp + 0x18]
push edx
mov esi, eax
mov byte [esp + 0x7c], 0
call fcn.00406490
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0x7c], 0xffffffff
call fcn.004063d0
mov eax, esi
jmp 0x42cc33