Function at 0x41cca0
Capabilities:
Create directory
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x44b009
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x164
mov eax, dword [0x461660]
push ebx
push ebp
mov dword [esp + 0x168], eax
push esi
xor ebp, ebp
lea ecx, [esp + 0x10]
mov dword [esp + 0x178], ebp
call fcn.0043a4b7
push 0x44c743
lea ecx, [esp + 0x10]
mov byte [esp + 0x17c], 1
call fcn.00402550
mov esi, dword [esp + 0x180]
mov edx, dword [esi - 0xc]
mov eax, edx
cmp eax, ebp
mov bl, 2
mov byte [esp + 0x178], bl
jle 0x41cd2c
lea ecx, [eax - 1]
mov edi, edi
cmp ecx, ebp
jl 0x41ce06
cmp ecx, edx
jg 0x41ce06
cmp byte [ecx + esi], 0x5c
jne 0x41cd2c
dec eax
dec ecx
cmp eax, ebp
jg 0x41cd10
push eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x188]
call fcn.004051c0
push eax
lea ecx, [esp + 0x184]
mov byte [esp + 0x17c], 3
call fcn.00401f30
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x178], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41cd78
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push edi
mov edi, dword [esp + 0x184]
lea eax, [esp + 0x30]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp dword [esp + 0x30], 0x10
mov dword [esp + 0x28], esi
jne 0x41ce10
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x17c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41cdc6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x14]
mov byte [esp + 0x17c], 0
call fcn.0043a509
lea eax, [edi - 0x10]
mov dword [esp + 0x17c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41cdfc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 1
jmp 0x41d089
push 0x80070057
call fcn.00401000
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0x1c]
call fcn.0043a529
mov eax, dword [edi - 0xc]
test eax, eax
jle 0x41ceec
test ebp, ebp
jl 0x41cf63
cmp ebp, eax
jg 0x41cf63
mov bl, byte [edi + ebp]
cmp bl, 0x5c
je 0x41ce9e
cmp ebp, eax
jg 0x41cf63
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 0x41ce72
push esi
lea ecx, [esp + 0x14]
call fcn.00401150
mov edx, dword [esp + 0x10]
test esi, esi
mov byte [edi + edx], bl
jl 0x41cf63
mov eax, dword [esp + 0x10]
cmp esi, dword [eax - 8]
jg 0x41cf63
mov edi, dword [esp + 0x184]
mov dword [eax - 0xc], esi
mov eax, dword [esp + 0x10]
mov byte [esi + eax], 0
jmp 0x41cec1
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x10]
push ecx
push edx
lea ecx, [esp + 0x1c]
call fcn.0043a66b
push 1
push 0x450340
lea ecx, [esp + 0x18]
call fcn.004054f0
mov eax, dword [edi - 0xc]
dec eax
cmp ebp, eax
jne 0x41cedc
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x10]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.0043a66b
mov eax, dword [edi - 0xc]
inc ebp
cmp ebp, eax
jl 0x41ce27
mov esi, dword [esp + 0x28]
mov ebx, dword [sym.imp.KERNEL32.dll_FindClose]
push esi
call ebx
mov eax, dword [esp + 0x1c]
mov ebp, 1
cmp eax, ebp
jle 0x41cfb6
test ebp, ebp
jl 0x41d02c
cmp ebp, eax
jge 0x41d02c
mov edx, dword [esp + 0x18]
mov ecx, dword [edx + ebp*4]
mov esi, dword [esp + 0x10]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x41cf82
mov edx, dword [esi + 0xc]
test edx, edx
lea edi, [esi + 0xc]
jl 0x41cf6d
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x41cf6d
push eax
call fcn.004015f0
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x41cf5a
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
add ebx, 0x10
mov dword [esp + 0x10], ebx
jmp 0x41cf7b
push 0x80070057
call fcn.00401000
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.00401ac0
mov edi, dword [esp + 0x184]
mov eax, dword [esp + 0x10]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x41cfa3
mov ecx, dword [esp + 0x10]
push 0x80
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, dword [esp + 0x1c]
inc ebp
cmp ebp, eax
jl 0x41cf06
mov ebx, dword [sym.imp.KERNEL32.dll_FindClose]
lea edx, [esp + 0x30]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
or ebp, 0xffffffff
push ebp
push 0
lea ecx, [esp + 0x1c]
mov esi, eax
call fcn.0043a529
cmp dword [esp + 0x30], 0x10
push esi
jne 0x41d031
call ebx
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x17c], 1
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d002
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x14]
mov byte [esp + 0x17c], 0
call fcn.0043a509
lea eax, [edi - 0x10]
mov dword [esp + 0x17c], ebp
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jmp 0x41cdf2
jmp fcn.0043a2c3
call ebx
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x17c], 1
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d058
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x14]
mov byte [esp + 0x17c], 0
call fcn.0043a509
lea eax, [edi - 0x10]
mov dword [esp + 0x17c], ebp
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x41d087
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
mov ecx, dword [esp + 0x174]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x164]
pop ebx
call fcn.00428f7e
add esp, 0x170
ret