Function at 0x417a30
Capabilities:
Create directory
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4551c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push ebp
push esi
push edi
xor ebp, ebp
lea ecx, [esp + 0x20]
mov dword [esp + 0x3c], ebp
call fcn.00444ff7
push 0x458d58
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], 1
call fcn.00403590
mov esi, dword [esp + 0x44]
mov edx, dword [esi - 0xc]
mov eax, edx
cmp eax, ebp
mov bl, 2
mov byte [esp + 0x3c], bl
jle 0x417aa0
lea ecx, [eax - 1]
cmp ecx, ebp
jl 0x417cc0
cmp ecx, edx
jg 0x417cc0
cmp byte [ecx + esi], 0x5c
jne 0x417aa0
dec eax
dec ecx
cmp eax, ebp
jg 0x417a84
push eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x4c]
call fcn.00417180
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x40], 3
call fcn.00402540
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x3c], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417ae0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov esi, dword [esp + 0x44]
push ecx
lea edi, [esi - 0x10]
mov dword [esp + 0x18], esp
mov ebx, esp
push edi
mov dword [esp + 0x1c], edi
call fcn.00401d90
add eax, 0x10
add esp, 4
mov dword [ebx], eax
call fcn.00416c50
add esp, 4
cmp eax, ebp
je 0x417b74
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x3c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417b2f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c], 0
call fcn.00445049
mov dword [esp + 0x3c], 0xffffffff
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x417b5c
mov ecx, dword [edi]
mov edx, dword [ecx]
push edi
call dword [edx + 4]
mov eax, 1
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0x28]
call fcn.00445069
mov eax, dword [esi - 0xc]
test eax, eax
jle 0x417c52
jmp 0x417b90
test ebp, ebp
jl 0x417cc0
cmp ebp, eax
jg 0x417cc0
mov bl, byte [esi + ebp]
cmp bl, 0x5c
je 0x417c08
cmp ebp, eax
jg 0x417cc0
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 4]
mov edi, dword [edx - 0xc]
mov ecx, 1
sub ecx, eax
mov eax, dword [edx - 8]
lea esi, [edi + 1]
sub eax, esi
or eax, ecx
jge 0x417bdb
push esi
lea ecx, [esp + 0x14]
call fcn.00401d40
mov edx, dword [esp + 0x10]
test esi, esi
mov byte [edi + edx], bl
jl 0x417cc0
mov eax, dword [esp + 0x10]
cmp esi, dword [eax - 8]
jg 0x417cc0
mov edi, dword [esp + 0x14]
mov dword [eax - 0xc], esi
mov eax, dword [esp + 0x10]
mov byte [esi + eax], 0
mov esi, dword [esp + 0x44]
jmp 0x417c2b
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x10]
push ecx
push edx
lea ecx, [esp + 0x28]
call fcn.004451ab
push 1
push 0x45b658
lea ecx, [esp + 0x18]
call fcn.004172d0
mov eax, dword [esi - 0xc]
dec eax
cmp ebp, eax
jne 0x417c46
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x10]
push eax
push ecx
lea ecx, [esp + 0x28]
call fcn.004451ab
mov eax, dword [esi - 0xc]
inc ebp
cmp ebp, eax
jl 0x417b90
mov eax, dword [esp + 0x28]
mov ebp, 1
cmp eax, ebp
jle 0x417d0a
test ebp, ebp
jl 0x417d40
cmp ebp, eax
jge 0x417d40
mov edx, dword [esp + 0x24]
mov ecx, dword [edx + ebp*4]
mov esi, dword [esp + 0x10]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x417cdc
mov edx, dword [esi + 0xc]
test edx, edx
lea edi, [esi + 0xc]
jl 0x417cca
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x417cca
push eax
call fcn.00401d90
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x417cb7
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
add ebx, 0x10
mov dword [esp + 0x10], ebx
jmp 0x417cd8
push 0x80070057
call fcn.004011d0
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.00402300
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x417cfd
mov ecx, dword [esp + 0x10]
push 0x80
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, dword [esp + 0x28]
inc ebp
cmp ebp, eax
jl 0x417c63
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x28]
call fcn.00445069
push ecx
mov ecx, dword [edi]
mov edx, dword [ecx]
mov dword [esp + 0x20], esp
mov ebx, esp
call dword [edx + 0x10]
mov edx, dword [edi + 0xc]
test edx, edx
lea ecx, [edi + 0xc]
jl 0x417d45
cmp eax, dword [edi]
jne 0x417d45
mov eax, edi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x417d7c
jmp fcn.00444e03
mov ecx, dword [edi + 4]
mov edx, dword [eax]
push 1
push ecx
mov ecx, eax
call dword [edx]
test eax, eax
jne 0x417d5a
jmp fcn.00401b90
mov edx, dword [edi + 4]
mov dword [eax + 4], edx
mov ecx, dword [edi + 4]
inc ecx
mov edx, ecx
lea esi, [edi + 0x10]
shr ecx, 2
lea edi, [eax + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x18]
add eax, 0x10
mov dword [ebx], eax
call fcn.00416c50
mov esi, eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
add esp, 4
mov byte [esp + 0x3c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417dae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c], 0
call fcn.00445049
mov dword [esp + 0x3c], 0xffffffff
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x417ddb
mov ecx, dword [edi]
mov edx, dword [ecx]
push edi
call dword [edx + 4]
mov ecx, dword [esp + 0x34]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x30
ret