Function at 0x404ab0
Capabilities:
Access peb ldr_data
Check if file exists
Create directory
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x45c918
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebp
push esi
lea ecx, [esp + 0x10]
call fcn.0044bc77
xor ebp, ebp
push 0x46076a
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], ebp
call fcn.00402e90
mov esi, dword [esp + 0x34]
push esi
mov byte [esp + 0x30], 1
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x404b45
mov eax, dword [esp + 8]
add eax, 0xfffffff0
mov byte [esp + 0x2c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404b1e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
call fcn.0044bcc9
pop esi
mov eax, 1
pop ebp
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
push ebx
push edi
push esi
lea ecx, [esp + 0x18]
call fcn.00402e90
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c], 2
call fcn.0044bce9
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 0xc]
cmp eax, ebp
jle 0x404c33
test ebp, ebp
jl 0x404ca1
cmp ebp, eax
jg 0x404ca1
mov bl, byte [ecx + ebp]
cmp bl, 0x5c
je 0x404be1
cmp ebp, eax
jg 0x404ca1
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 0x404bbc
push esi
lea ecx, [esp + 0x14]
call fcn.00401740
mov edx, dword [esp + 0x10]
test esi, esi
mov byte [edi + edx], bl
jl 0x404ca1
mov eax, dword [esp + 0x10]
cmp esi, dword [eax - 8]
jg 0x404ca1
mov dword [eax - 0xc], esi
mov eax, dword [esp + 0x10]
mov byte [esi + eax], 0
jmp 0x404c04
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x10]
push ecx
push edx
lea ecx, [esp + 0x20]
call fcn.0044be2b
push 1
push 0x460a78
lea ecx, [esp + 0x18]
call fcn.00401ee0
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 0xc]
dec eax
cmp ebp, eax
jne 0x404c27
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x10]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.0044be2b
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 0xc]
inc ebp
cmp ebp, eax
jl 0x404b71
mov eax, dword [esp + 0x20]
mov ebp, 1
cmp eax, ebp
jle 0x404ce7
test ebp, ebp
jl 0x404d6e
cmp ebp, eax
jge 0x404d6e
mov edx, dword [esp + 0x1c]
mov ecx, dword [edx + ebp*4]
mov esi, dword [esp + 0x10]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x404cb9
mov edx, dword [esi + 0xc]
test edx, edx
lea edi, [esi + 0xc]
jl 0x404cab
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x404cab
push eax
call fcn.00401790
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x404c98
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
add ebx, 0x10
mov dword [esp + 0x10], ebx
jmp 0x404cb9
push 0x80070057
call fcn.00401130
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.00401bb0
mov eax, dword [esp + 0x10]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x404cda
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
jl 0x404c44
or esi, 0xffffffff
push esi
push 0
lea ecx, [esp + 0x20]
call fcn.0044bce9
mov edx, dword [esp + 0x3c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
mov eax, dword [esp + 0x14]
mov edx, esi
mov byte [esp + 0x34], 1
je 0x404d73
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404d27
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x34], 0
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404d49
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x18]
mov dword [esp + 0x34], esi
call fcn.0044bcc9
pop edi
pop ebx
pop esi
mov eax, 1
pop ebp
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
jmp fcn.0044af8e
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404d8a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x34], 0
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404dac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x18]
mov dword [esp + 0x34], esi
call fcn.0044bcc9
mov ecx, dword [esp + 0x2c]
pop edi
pop ebx
pop esi
xor eax, eax
pop ebp
mov dword fs:[0], ecx
add esp, 0x28
ret