Function at 0x41f0b0
Capabilities:
Create directory
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x44cde9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x164
mov eax, dword [0x462650]
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.0043c637
push 0x44e773
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 0x41f13c
lea ecx, [eax - 1]
mov edi, edi
cmp ecx, ebp
jl 0x41f216
cmp ecx, edx
jg 0x41f216
cmp byte [ecx + esi], 0x5c
jne 0x41f13c
dec eax
dec ecx
cmp eax, ebp
jg 0x41f120
push eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x188]
call fcn.00405050
push eax
lea ecx, [esp + 0x184]
mov byte [esp + 0x17c], 3
call fcn.00401f10
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 0x41f188
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 0x41f220
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 0x41f1d6
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.0043c689
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 0x41f20c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 1
jmp 0x41f499
push 0x80070057
call fcn.00401000
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0x1c]
call fcn.0043c6a9
mov eax, dword [edi - 0xc]
test eax, eax
jle 0x41f2fc
test ebp, ebp
jl 0x41f373
cmp ebp, eax
jg 0x41f373
mov bl, byte [edi + ebp]
cmp bl, 0x5c
je 0x41f2ae
cmp ebp, eax
jg 0x41f373
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 0x41f282
push esi
lea ecx, [esp + 0x14]
call fcn.00401170
mov edx, dword [esp + 0x10]
test esi, esi
mov byte [edi + edx], bl
jl 0x41f373
mov eax, dword [esp + 0x10]
cmp esi, dword [eax - 8]
jg 0x41f373
mov edi, dword [esp + 0x184]
mov dword [eax - 0xc], esi
mov eax, dword [esp + 0x10]
mov byte [esi + eax], 0
jmp 0x41f2d1
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x10]
push ecx
push edx
lea ecx, [esp + 0x1c]
call fcn.0043c7eb
push 1
push 0x44ef38
lea ecx, [esp + 0x18]
call fcn.004052d0
mov eax, dword [edi - 0xc]
dec eax
cmp ebp, eax
jne 0x41f2ec
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x10]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.0043c7eb
mov eax, dword [edi - 0xc]
inc ebp
cmp ebp, eax
jl 0x41f237
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 0x41f3c6
test ebp, ebp
jl 0x41f43c
cmp ebp, eax
jge 0x41f43c
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 0x41f392
mov edx, dword [esi + 0xc]
test edx, edx
lea edi, [esi + 0xc]
jl 0x41f37d
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x41f37d
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 0x41f36a
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
add ebx, 0x10
mov dword [esp + 0x10], ebx
jmp 0x41f38b
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 0x41f3b3
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 0x41f316
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.0043c6a9
cmp dword [esp + 0x30], 0x10
push esi
jne 0x41f441
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 0x41f412
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.0043c689
lea eax, [edi - 0x10]
mov dword [esp + 0x17c], ebp
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jmp 0x41f202
jmp fcn.0043c443
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 0x41f468
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.0043c689
lea eax, [edi - 0x10]
mov dword [esp + 0x17c], ebp
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x41f497
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.0042af5e
add esp, 0x170
ret