Function at 0x4071d0
Capabilities:
Create directory
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x437426
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x160
mov eax, dword [0x449704]
xor eax, dword [esp + 0x16c]
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x16c], eax
call fcn.004293fc
xor ebp, ebp
push 0x43a0e3
lea ecx, [esp + 0x14]
mov dword [esp + 0x17c], ebp
call fcn.004022c0
mov edi, dword [esp + 0x180]
mov eax, dword [edi]
lea ecx, [esp + 0x2c]
push ecx
push eax
mov byte [esp + 0x180], 1
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
or ebx, 0xffffffff
cmp esi, ebx
mov dword [esp + 0x14], esi
je 0x40727a
test byte [esp + 0x2c], 0x10
je 0x40727a
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x178], 0
lea edx, [eax + 0xc]
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x4074fe
push ebx
push ebp
lea ecx, [esp + 0x20]
call fcn.0042946e
mov eax, dword [edi]
cmp dword [eax - 0xc], ebp
jle 0x407346
mov bl, byte [eax + ebp]
cmp bl, 0x5c
je 0x4072e2
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 0x4072c3
push esi
lea ecx, [esp + 0x14]
call fcn.00401da0
mov edx, dword [esp + 0x10]
mov byte [edi + edx], bl
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x180]
mov dword [eax - 0xc], esi
mov ecx, dword [esp + 0x10]
mov byte [esi + ecx], 0
mov esi, dword [esp + 0x14]
jmp 0x407318
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x10]
push edx
push eax
lea ecx, [esp + 0x20]
call fcn.004295a0
mov eax, 0x43a104
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x407300
sub eax, edx
push eax
push 0x43a104
lea ecx, [esp + 0x18]
call fcn.004020a0
mov ecx, dword [edi]
mov eax, dword [ecx - 0xc]
dec eax
cmp ebp, eax
jne 0x407335
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x10]
push edx
push eax
lea ecx, [esp + 0x20]
call fcn.004295a0
mov eax, dword [edi]
mov ecx, dword [eax - 0xc]
inc ebp
cmp ebp, ecx
jl 0x407290
or ebx, 0xffffffff
push esi
mov esi, dword [sym.imp.KERNEL32.dll_FindClose]
call esi
mov eax, dword [esp + 0x20]
xor ebp, ebp
test eax, eax
mov dword [esp + 0x14], ebp
jle 0x40744e
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + ebp*4]
mov ebx, dword [esp + 0x10]
lea esi, [eax - 0x10]
add ebx, 0xfffffff0
cmp esi, ebx
je 0x407413
mov ecx, dword [ebx + 0xc]
test ecx, ecx
jge 0x407394
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.00401fa0
jmp 0x407413
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 0x10]
mov edx, dword [esi + 0xc]
test edx, edx
lea ecx, [esi + 0xc]
jl 0x4073b6
cmp eax, dword [esi]
jne 0x4073b6
mov ebp, esi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x4073ea
mov ecx, dword [esi + 4]
mov edx, dword [eax]
push 1
push ecx
mov ecx, eax
call dword [edx]
mov ebp, eax
test ebp, ebp
je 0x4074d4
mov edx, dword [esi + 4]
mov dword [ebp + 4], edx
mov ecx, dword [esi + 4]
inc ecx
mov eax, ecx
shr ecx, 2
add esi, 0x10
lea edi, [ebp + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
lea eax, [ebx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x407401
mov ecx, dword [ebx]
mov edx, dword [ecx]
push ebx
call dword [edx + 4]
mov edi, dword [esp + 0x180]
add ebp, 0x10
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x407434
mov ecx, dword [esp + 0x10]
push 0x80
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, dword [esp + 0x20]
inc ebp
cmp ebp, eax
mov dword [esp + 0x14], ebp
jl 0x407361
mov esi, dword [sym.imp.KERNEL32.dll_FindClose]
or ebx, 0xffffffff
push ebx
push 0
lea ecx, [esp + 0x20]
call fcn.0042946e
mov eax, dword [edi]
lea edx, [esp + 0x2c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, ebx
jne 0x4074d9
push ebx
call esi
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x178], 0
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407494
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x18]
mov dword [esp + 0x178], ebx
call fcn.0042944e
xor eax, eax
mov ecx, dword [esp + 0x170]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x168]
xor ecx, dword [esp + 0x178]
pop esi
pop ebp
pop ebx
call fcn.0041b931
add esp, 0x16c
ret 4
call fcn.00401c70
test byte [esp + 0x2c], 0x10
push eax
je 0x40746d
call esi
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x178], 0
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407508
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x18]
mov dword [esp + 0x178], ebx
call fcn.0042944e
mov eax, 1
jmp 0x4074a6