Function at 0x41b5f0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4952c0
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4c100c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x14], 0x10
jb 0x41b627
mov eax, dword [edi]
jmp 0x41b629
mov eax, edi
push 0
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__access]
add esp, 8
cmp eax, 0xffffffff
je 0x41b641
mov al, 1
jmp 0x41b803
push ecx
mov ecx, edi
call fcn.004116e0
add esp, 4
cmp dword [edi + 0x14], 0x10
jb 0x41b656
mov ecx, dword [edi]
jmp 0x41b658
mov ecx, edi
mov eax, dword [edi + 0x10]
cmp byte [eax + ecx - 1], 0x5c
je 0x41b66d
push 0x5c
push 1
mov ecx, edi
call fcn.0040fb00
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
mov dword [ebp - 4], 0
xor ebx, ebx
mov edx, 0xf
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], edx
mov byte [ebp - 0x28], bl
mov byte [ebp - 4], 1
mov eax, dword [edi + 0x10]
cmp eax, edx
je 0x41b6c6
push 1
push eax
lea ecx, [ebp - 0x28]
call fcn.00404d80
test al, al
je 0x41b6c0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], ebx
cmovae eax, dword [ebp - 0x28]
mov byte [eax], bl
mov ebx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
cmp dword [edi + 0x14], 0x10
jb 0x41b6d0
mov esi, dword [edi]
jmp 0x41b6d2
mov esi, edi
cmp dword [edi + 0x14], 0x10
jb 0x41b6dc
mov ecx, dword [edi]
jmp 0x41b6de
mov ecx, edi
mov eax, dword [edi + 0x10]
add eax, ecx
cmp esi, eax
je 0x41b7d6
mov cl, byte [esi]
mov byte [ebp - 0x41], cl
cmp ebx, edx
jne 0x41b72a
lea eax, [ebx + 1]
cmp eax, 0xfffffffe
ja 0x41b7c5
cmp edx, eax
jae 0x41b710
push ebx
push eax
lea ecx, [ebp - 0x28]
call fcn.004050f0
jmp 0x41b724
test eax, eax
jne 0x41b72a
mov dword [ebp - 0x18], eax
cmp edx, 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
mov byte [eax], 0
mov ebx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
lea ecx, [ebp - 0x28]
mov dl, byte [ebp - 0x41]
cmovae ecx, dword [ebp - 0x28]
mov byte [ebx + ecx], dl
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
mov byte [eax + ecx], 0
cmp dl, 0x5c
je 0x41b760
cmp dword [edi + 0x14], 0x10
jb 0x41b754
mov ecx, dword [edi]
jmp 0x41b756
mov ecx, edi
mov eax, dword [edi + 0x10]
dec eax
add eax, ecx
cmp esi, eax
jne 0x41b7b9
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
call fcn.00405b80
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push 0
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__access]
add esp, 8
test eax, eax
je 0x41b7a4
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__mkdir]
add esp, 4
test eax, eax
jne 0x41b7cf
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], 0
cmovae eax, dword [ebp - 0x28]
mov byte [eax], 0
mov edx, dword [ebp - 0x14]
inc esi
mov ebx, dword [ebp - 0x18]
jmp 0x41b6d2
push str.string_too_long
call fcn.004796eb
mov edx, dword [ebp - 0x14]
xor bl, bl
jmp 0x41b7d8
mov bl, 1
cmp edx, 0x10
jb 0x41b7ec
lea eax, [edx + 1]
push eax
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.00404b60
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
jb 0x41b801
inc ecx
push ecx
push dword [ebp - 0x40]
lea ecx, [ebp - 0x40]
call fcn.00404b60
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00439578
mov esp, ebp
pop ebp
ret