Function at 0x451990
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 0x4e0205
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x178
mov eax, dword [0x534094]
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 0x52a333
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
call fcn.00449030
mov byte [ebp - 4], 1
mov eax, esi
cmp dword [esi + 0x14], 0x10
jb 0x451a2e
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 0x451a5c
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, 1
jmp 0x451cb7
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
cmp ecx, eax
je 0x451a77
push ecx
mov edx, eax
call fcn.00449250
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 0x451b7a
cmp ecx, edi
jbe 0x451d23
mov edx, dword [esi + 0x14]
mov ecx, esi
cmp edx, 0x10
jb 0x451a98
mov ecx, dword [esi]
cmp byte [ecx + edi], 0x5c
je 0x451ae2
mov eax, esi
cmp edx, 0x10
jb 0x451aa7
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 0x451ad0
cmp dword [ebp - 0x28], 0x10
lea eax, [ecx + 1]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x3c]
cmovae eax, dword [ebp - 0x3c]
mov byte [eax + ecx], dl
mov byte [eax + ecx + 1], 0
jmp 0x451b3c
push dword [ebp - 0x24]
lea ecx, [ebp - 0x3c]
push dword [ebp - 0x24]
push 1
call fcn.004492c0
jmp 0x451b3c
lea ecx, [ebp - 0x3c]
push ecx
cmp eax, dword [ebp - 0x18]
je 0x451af8
mov ecx, eax
call fcn.004472f0
add dword [ebp - 0x1c], 0x18
jmp 0x451b01
push eax
lea ecx, [ebp - 0x20]
call fcn.00454d70
mov edx, dword [ebp - 0x28]
mov eax, edx
mov ecx, dword [ebp - 0x2c]
sub eax, ecx
cmp eax, 1
jb 0x451b28
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x3c]
cmovae eax, dword [ebp - 0x3c]
mov word [eax + ecx], 0x5c
jmp 0x451b3c
push 1
push 0x52a5f8
push dword [ebp - 0x24]
lea ecx, [ebp - 0x3c]
push 1
call fcn.00448ed0
mov eax, dword [esi + 0x10]
dec eax
cmp edi, eax
mov eax, dword [ebp - 0x1c]
jne 0x451b6e
lea ecx, [ebp - 0x3c]
push ecx
cmp eax, dword [ebp - 0x18]
je 0x451b62
mov ecx, eax
call fcn.004472f0
mov eax, dword [ebp - 0x1c]
add eax, 0x18
mov dword [ebp - 0x1c], eax
jmp 0x451b6e
push eax
lea ecx, [ebp - 0x20]
call fcn.00454d70
mov eax, dword [ebp - 0x1c]
mov ecx, dword [esi + 0x10]
inc edi
cmp ecx, edi
ja 0x451a8c
push dword [ebp - 0x184]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov edi, dword [ebp - 0x20]
sub ecx, edi
mov dword [ebp - 0x24], eax
mov eax, 0x2aaaaaab
imul ecx
mov dword [ebp - 0x188], 1
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jbe 0x451c6d
mov dword [ebp - 0x184], 0x18
mov ecx, dword [ebp - 0x24]
mov eax, 0x2aaaaaab
sub ecx, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, dword [ebp - 0x188]
jbe 0x451d28
mov eax, dword [ebp - 0x184]
lea ecx, [ebp - 0x3c]
add eax, edi
cmp ecx, eax
je 0x451c07
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x451bfd
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x3c]
call fcn.00443820
cmp dword [ebp - 0x28], 0x10
lea eax, [ebp - 0x3c]
push 0
cmovae eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x451c36
cmp dword [ebp - 0x28], 0x10
lea eax, [ebp - 0x3c]
push 0x80
cmovae eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov edi, dword [ebp - 0x20]
sub ecx, edi
inc dword [ebp - 0x188]
add dword [ebp - 0x184], 0x18
mov dword [ebp - 0x24], eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x188], eax
jb 0x451bc1
mov edx, dword [ebp - 0x24]
cmp edi, edx
je 0x451c85
push ecx
mov ecx, edi
call fcn.00449250
mov eax, dword [ebp - 0x20]
add esp, 4
mov dword [ebp - 0x1c], eax
cmp dword [esi + 0x14], 0x10
jb 0x451c8d
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 0x451cb3
call eax
mov esi, 1
jmp 0x451cb7
call eax
xor esi, esi
mov ecx, dword [ebp - 0x28]
cmp ecx, 0x10
jb 0x451ce7
mov edx, dword [ebp - 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x451cdd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x451d2d
push ecx
push edx
call fcn.004b43c2
add esp, 8
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
call fcn.00445ec0
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.004b437a
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.00448620
call fcn.00451ee0
call fcn.004bc740
int3