Function at 0x402450
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x411afd
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x41b014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 4], 0
lea edi, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
cmovae edi, dword [ebp + 8]
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402494
xorps xmm0, xmm0
lea esi, [edi - 1]
sub ecx, edx
movlpd qword [ebp - 0x18], xmm0
push 0x20
add esi, ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.00410a36
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
nop
mov ecx, dword [ebp - 0x24]
push edi
call fcn.00402d50
test al, al
jne 0x4025b0
mov al, byte [esi - 1]
dec esi
cmp al, 0x5c
je 0x4024f1
cmp al, 0x2f
je 0x4024f1
cmp esi, edi
jae 0x4024e1
lea edx, [esi + 1]
mov dword [ebp - 0x3c], 0
mov ecx, edx
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
lea eax, [ecx + 1]
mov dword [ebp - 0x20], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402515
sub ecx, dword [ebp - 0x20]
push ecx
push edx
lea ecx, [ebp - 0x3c]
call fcn.0040f0c0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x14], 0x7ffffff
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
je 0x4026d1
lea eax, [ebp - 0x18]
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 3
push 0x20
mov dword [ebp - 0x40], 0
call fcn.00410a36
movups xmm0, xmmword [ebp - 0x3c]
mov edx, dword [ebp - 0x20]
mov ecx, eax
add esp, 4
mov dword [ebp - 0x40], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 0
movups xmmword [ecx + 8], xmm0
movq xmm0, qword [ebp - 0x2c]
movq qword [ecx + 0x18], xmm0
inc dword [ebp - 0x14]
mov eax, dword [edx + 4]
mov dword [ecx], edx
mov dword [ecx + 4], eax
mov dword [edx + 4], ecx
mov dword [eax], ecx
mov byte [ebp - 4], 1
mov byte [esi + 1], 0
cmp esi, edi
jae 0x4024d0
push edi
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__chdir]
add esp, 4
test eax, eax
jne 0x4026e5
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
cmp esi, eax
je 0x4026cb
nop
cmp dword [esi + 0x1c], 0x10
lea eax, [esi + 8]
mov dword [ebp - 0x20], eax
mov edx, eax
jb 0x4025e0
mov edx, dword [eax]
mov ecx, edx
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
lea edi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402600
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x3c]
call fcn.0040f0c0
mov byte [ebp - 4], 4
lea edi, [ebp - 0x3c]
cmp dword [ebp - 0x28], 0x10
push 0x4e20
cmovae edi, dword [ebp - 0x3c]
call fcn.00410dda
mov ecx, dword [ebp - 0x24]
push 0x2710
push edi
push eax
mov dword [ecx + 0x180], eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_mbstowcs]
mov eax, dword [ebp - 0x24]
add esp, 0x10
mov edi, dword [eax + 0x180]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x28]
cmp edx, 0x10
jb 0x402686
mov ecx, dword [ebp - 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40267c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402717
push edx
push ecx
call fcn.00410dcc
add esp, 8
push 0
push edi
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x4026dc
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x14], 0x10
jb 0x4026b0
mov eax, dword [eax]
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__chdir]
push edi
call fcn.00410a31
mov esi, dword [esi]
add esp, 8
cmp esi, dword [ebp - 0x18]
jne 0x4025d0
mov byte [ebp - 0x19], 0
jmp 0x4026e9
push str.list_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
push edi
call fcn.00410a31
add esp, 4
mov byte [ebp - 0x19], 1
lea ecx, [ebp - 0x18]
call fcn.0040dc60
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x402727
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40271d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40271d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00410dcc
add esp, 8
mov al, byte [ebp - 0x19]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00410a23
mov esp, ebp
pop ebp
ret 0x18