Function at 0x413d80
Capabilities:
Create directory
Set file attributes

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49d6e5
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x178
mov eax, dword [0x4dc100]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebx + 8]
xorps xmm0, xmm0
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x3c]
push 0
push 0x4d1109
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
call fcn.00409650
mov byte [ebp - 4], 1
mov eax, esi
cmp dword [esi + 0x14], 0xf
jbe 0x413e1e
mov eax, dword [esi]
lea ecx, [ebp - 0x180]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp dword [ebp - 0x180], 0x10
mov dword [ebp - 0x184], eax
jne 0x413e4c
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, 1
jmp 0x4140a0
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
cmp ecx, eax
je 0x413e67
push ecx
mov edx, eax
call fcn.00409cb0
mov eax, dword [ebp - 0x20]
add esp, 4
mov dword [ebp - 0x1c], eax
mov ecx, dword [esi + 0x10]
xor edi, edi
test ecx, ecx
je 0x413f69
cmp dword [esi + 0x14], 0xf
mov edx, esi
jbe 0x413e7e
mov edx, dword [esi]
cmp byte [edx + edi], 0x5c
je 0x413ed1
cmp ecx, edi
jbe 0x41410c
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x413e96
mov eax, dword [esi]
mov dl, byte [eax + edi]
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 0x24], dl
cmp ecx, dword [ebp - 0x28]
jae 0x413ebf
cmp dword [ebp - 0x28], 0xf
lea eax, [ecx + 1]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x3c]
cmova eax, dword [ebp - 0x3c]
mov byte [eax + ecx], dl
mov byte [eax + ecx + 1], 0
jmp 0x413f2b
push dword [ebp - 0x24]
lea ecx, [ebp - 0x3c]
push dword [ebp - 0x24]
push 1
call fcn.004093b0
jmp 0x413f2b
lea ecx, [ebp - 0x3c]
push ecx
cmp eax, dword [ebp - 0x18]
je 0x413ee7
mov ecx, eax
call fcn.00406580
add dword [ebp - 0x1c], 0x18
jmp 0x413ef0
push eax
lea ecx, [ebp - 0x20]
call fcn.00416900
mov edx, dword [ebp - 0x28]
mov eax, edx
mov ecx, dword [ebp - 0x2c]
sub eax, ecx
cmp eax, 1
jb 0x413f17
lea eax, [ecx + 1]
cmp edx, 0xf
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x3c]
cmova eax, dword [ebp - 0x3c]
mov word [eax + ecx], 0x5c
jmp 0x413f2b
push 1
push 0x4d1398
push dword [ebp - 0x24]
lea ecx, [ebp - 0x3c]
push 1
call fcn.004094f0
mov eax, dword [esi + 0x10]
dec eax
cmp edi, eax
mov eax, dword [ebp - 0x1c]
jne 0x413f5d
lea ecx, [ebp - 0x3c]
push ecx
cmp eax, dword [ebp - 0x18]
je 0x413f51
mov ecx, eax
call fcn.00406580
mov eax, dword [ebp - 0x1c]
add eax, 0x18
mov dword [ebp - 0x1c], eax
jmp 0x413f5d
push eax
lea ecx, [ebp - 0x20]
call fcn.00416900
mov eax, dword [ebp - 0x1c]
mov ecx, dword [esi + 0x10]
inc edi
cmp edi, ecx
jb 0x413e74
push dword [ebp - 0x184]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edi, dword [ebp - 0x1c]
mov eax, 0x2aaaaaab
mov ecx, edi
mov dword [ebp - 0x184], 1
sub ecx, dword [ebp - 0x20]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jbe 0x414054
mov dword [ebp - 0x24], 0x18
nop dword [eax + eax]
mov ecx, dword [ebp - 0x20]
mov eax, 0x2aaaaaab
sub edi, ecx
imul edi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, dword [ebp - 0x184]
jbe 0x414111
mov edi, dword [ebp - 0x24]
lea eax, [ecx + edi]
lea ecx, [ebp - 0x3c]
cmp ecx, eax
je 0x413ff4
cmp dword [eax + 0x14], 0xf
mov ecx, dword [eax + 0x10]
jbe 0x413fea
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x3c]
call fcn.00402690
cmp dword [ebp - 0x28], 0xf
lea eax, [ebp - 0x3c]
push 0
cmova eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x414023
cmp dword [ebp - 0x28], 0xf
lea eax, [ebp - 0x3c]
push 0x80
cmova eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
inc dword [ebp - 0x184]
add edi, 0x18
mov dword [ebp - 0x24], edi
mov eax, 0x2aaaaaab
mov edi, dword [ebp - 0x1c]
mov ecx, edi
sub ecx, dword [ebp - 0x20]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x184], eax
jb 0x413fb0
mov eax, dword [ebp - 0x20]
cmp eax, edi
je 0x41406e
push ecx
mov edx, edi
mov ecx, eax
call fcn.00409cb0
mov eax, dword [ebp - 0x20]
add esp, 4
mov dword [ebp - 0x1c], eax
cmp dword [esi + 0x14], 0xf
jbe 0x414076
mov esi, dword [esi]
lea eax, [ebp - 0x180]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp dword [ebp - 0x180], 0x10
push eax
mov eax, dword [sym.imp.KERNEL32.dll_FindClose]
jne 0x41409c
call eax
mov esi, 1
jmp 0x4140a0
call eax
xor esi, esi
mov ecx, dword [ebp - 0x28]
cmp ecx, 0xf
jbe 0x4140d0
mov edx, dword [ebp - 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4140c6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414116
push ecx
push edx
call fcn.00474928
add esp, 8
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
call fcn.00404f40
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004748e0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.00408840
call fcn.00414190
call fcn.0047ce51
int3