Function at 0x410ad0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4240b0
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x430038]
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 dword [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004079f0
mov ebx, eax
cmp dword [ebx + 0x10], 0
jne 0x410b19
mov bl, 1
jmp 0x410cf5
lea ecx, [ebp - 0x40]
call fcn.00406fc0
mov byte [ebp - 4], 1
cmp dword [ebx + 0x10], 0
je 0x410bf0
lea ecx, [ebp + 8]
call fcn.004079f0
mov edi, eax
mov ecx, edi
call fcn.004079f0
mov edx, eax
mov ecx, edx
cmp dword [edx + 0x14], 0x10
jb 0x410b50
mov ecx, dword [edx]
nop dword [eax]
cmp dword [edx + 0x14], 0x10
mov esi, edx
jb 0x410b5a
mov esi, dword [edx]
mov eax, dword [edx + 0x10]
add eax, esi
cmp ecx, eax
je 0x410b6e
cmp byte [ecx], 0x5c
jne 0x410b6b
mov byte [ecx], 0x2f
inc ecx
jmp 0x410b50
mov edx, dword [ebx + 0x10]
mov esi, dword [edi + 0x10]
dec edx
cmp esi, edx
jbe 0x410d22
cmp dword [edi + 0x14], 0x10
mov ecx, edi
jb 0x410b87
mov ecx, dword [edi]
cmp byte [edx + ecx], 0x2f
je 0x410bf0
mov ecx, 0x428028
call fcn.00401f10
mov edx, dword [edi + 0x14]
mov ecx, eax
mov eax, edx
mov dword [ebp - 0x48], ecx
sub eax, esi
cmp ecx, eax
ja 0x410bda
lea eax, [esi + ecx]
mov dword [edi + 0x10], eax
cmp edx, 0x10
jb 0x410bb4
mov edi, dword [edi]
add esi, edi
mov edx, 0x428028
push ecx
mov ecx, esi
call fcn.00401f20
mov ecx, dword [ebp - 0x48]
lea edx, [ebp - 0x41]
add esp, 4
mov byte [ebp - 0x41], 0
lea ecx, [esi + ecx]
call fcn.00401f40
jmp 0x410bf0
push ecx
push 0x428028
mov byte [ebp - 0x48], 0
push dword [ebp - 0x48]
push ecx
lea ecx, [ebp + 8]
call fcn.004089b0
cmp dword [ebx + 0x14], 0x10
mov esi, ebx
jb 0x410bfa
mov esi, dword [ebx]
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x410c17
push eax
push 0x2f
push esi
call sub.VCRUNTIME140.dll_memchr
mov edi, eax
add esp, 0xc
test edi, edi
je 0x410c17
sub edi, esi
jmp 0x410c1a
or edi, 0xffffffff
cmp edi, 0xffffffff
je 0x410ce7
lea ecx, [ebp - 0x28]
call fcn.004079f0
lea esi, [eax + 0x10]
mov dword [ebp - 0x48], esi
push edi
push 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp + 8]
call fcn.0040a040
mov byte [ebp - 4], 2
cmp dword [esi], 0
jbe 0x410c8e
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x64]
call fcn.00406fe0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x64]
call fcn.00406e50
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
mov esi, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x64]
call fcn.00406ef0
test esi, esi
jne 0x410c8e
push esi
lea ecx, [ebp - 0x28]
call fcn.00406e50
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x410cd7
inc edi
mov esi, ebx
cmp dword [ebx + 0x14], 0x10
jb 0x410c99
mov esi, dword [ebx]
mov eax, dword [ebx + 0x10]
cmp edi, eax
jae 0x410cbb
sub eax, edi
push eax
lea eax, [esi + edi]
push 0x2f
push eax
call sub.VCRUNTIME140.dll_memchr
mov edi, eax
add esp, 0xc
test edi, edi
je 0x410cbb
sub edi, esi
jmp 0x410cbe
or edi, 0xffffffff
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00406ef0
cmp edi, 0xffffffff
je 0x410ce7
mov esi, dword [ebp - 0x48]
jmp 0x410c31
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00406ef0
xor bl, bl
jmp 0x410ce9
mov bl, 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00406ef0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00406ef0
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.004210a4
mov esp, ebp
pop ebp
ret
call fcn.00408050
int3