Function at 0x473fe0
Capabilities:
Create directory
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56d8fa
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x5cb464]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
xor eax, eax
mov esi, dword [ebp + 0x10]
mov ecx, esi
mov dword [ebp - 0xf8], edi
mov dword [ebp - 0xec], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
lea edx, [ecx + 2]
mov dword [ebp - 4], 0
mov dword [ebp - 0xe8], edi
mov word [edi], ax
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x474050
sub ecx, edx
sar ecx, 1
push ecx
push esi
mov ecx, edi
call fcn.0048c6c0
mov ecx, esi
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0xec], 1
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x474092
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x64]
call fcn.0048c6c0
push 0x36
push str.PCJIAMIRECYCLER.5ef4af3a_f726_11d0_b8a2_00c04fc309a4
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 1
call fcn.00434120
cmp dword [ebp - 0x50], 8
lea eax, [ebp - 0x64]
cmovae eax, dword [ebp - 0x64]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x4740ff
cmp dword [ebp - 0x50], 8
lea eax, [ebp - 0x64]
push 0
cmovae eax, dword [ebp - 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp dword [ebp - 0x50], 8
lea eax, [ebp - 0x64]
push 0x12
cmovae eax, dword [ebp - 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xorps xmm0, xmm0
mov dword [ebp - 0x3c], 0
lea eax, [ebp - 0x48]
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0xd4], eax
push 1
mov byte [ebp - 4], 2
call fcn.00525c72
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 3
push eax
call fcn.00482590
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x40]
push eax
call fcn.00482720
mov dword [ebp - 0x44], eax
push 0x54
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 4
push 0
push eax
call fcn.004cc090
add esp, 0x18
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0xd0]
push 1
push 0x58fc14
push 0x58fc10
push eax
call fcn.004828e0
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 5
call fcn.00487740
mov edi, eax
test edi, edi
je 0x474192
lock inc dword [edi + 0x20]
mov ecx, dword [ebp - 0x4c]
test ecx, ecx
je 0x4741c1
or eax, 0xffffffff
lock xadd dword [ecx + 0x20], eax
jne 0x4741c1
mov esi, dword [ebp - 0x4c]
test esi, esi
je 0x4741c1
mov ecx, esi
lea eax, [esi + 0xc]
mov esi, dword [eax]
mov dword [eax], 0
push 1
mov eax, dword [ecx]
call dword [eax]
test esi, esi
jne 0x4741aa
mov ecx, dword [ebp - 0xbc]
mov dword [ebp - 0x4c], edi
mov byte [ebp - 4], 4
test ecx, ecx
je 0x47422a
mov eax, dword [ebp - 0xb4]
sub eax, ecx
sar eax, 2
lea edx, [eax*4]
mov eax, ecx
cmp edx, 0x1000
jb 0x474202
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x474aa6
push edx
push ecx
call fcn.0046956a
add esp, 8
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x7c]
push eax
mov byte [ebp - 4], 6
call fcn.00473600
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
movq qword [ebp - 0x38], xmm0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
cmp dword [ebp - 0x68], 8
lea ecx, [ebp - 0x7c]
mov eax, dword [ebp - 0x6c]
cmovae ecx, dword [ebp - 0x7c]
lea esi, [ecx + eax*2]
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0xe8]
lea ecx, [ebp - 0x7c]
cmovae ecx, dword [ebp - 0x7c]
sub esp, 0x68
mov eax, esp
mov dword [ebp - 0xe0], ecx
mov dword [ebp - 0xe4], esp
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0x10], 0
mov byte [eax + 0x14], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
mov dword [eax + 0x28], 0
mov byte [eax + 0x2c], 0
mov dword [eax + 0x30], 0
mov dword [eax + 0x34], 0
mov byte [eax + 0x38], 0
mov dword [eax + 0x3c], 0
mov dword [eax + 0x40], 0
mov byte [eax + 0x44], 0
mov dword [eax + 0x48], 0
mov dword [eax + 0x4c], 0
mov dword [eax + 0x50], 0
mov byte [eax + 0x54], 0
mov dword [eax + 0x5c], 0
mov dword [eax + 0x60], 0
mov dword [eax + 0x64], 0
mov dword [ebp - 0x14], 0xffffffff
lea eax, [ebp - 0x4c]
sub esp, 0x68
mov edi, esp
mov dword [ebp - 0xfc], edi
mov dword [ebp - 0xf0], edi
mov dword [edi], ecx
lea ecx, [edi + 0x10]
mov dword [edi + 8], eax
lea eax, [ecx + 0x14]
mov dword [edi + 4], esi
mov dword [edi + 0xc], 0
mov dword [ecx], 0
mov byte [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [eax], 0
mov dword [eax + 4], 0
mov byte [eax + 8], 0
mov dword [ecx + 0x20], 0
mov dword [ebp - 0xd4], eax
lea eax, [ecx + 0x2c]
mov dword [ecx + 0x24], 0
mov byte [ecx + 0x28], 0
mov dword [ebp - 0xd8], ecx
mov dword [ebp - 0xdc], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov byte [eax + 8], 0
push dword [edi]
mov byte [ebp - 4], 0xa
push dword [edi + 0xc]
push dword [edi + 8]
push ecx
push dword [edi + 4]
push dword [edi]
call fcn.00480260
add esp, 0x18
test al, al
jne 0x4743e6
mov dword [edi + 8], 0
push dword [ebp - 0xf0]
mov dword [edi + 0x4c], 0
lea ecx, [ebp - 0x10]
mov dword [edi + 0x50], 0
push ecx
mov byte [edi + 0x54], 0
lea ecx, [ebp - 0x14]
mov dword [edi + 0x58], 0
push ecx
lea ecx, [edi + 0x5c]
mov byte [ebp - 4], 0xb
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
call fcn.0047fd10
cmp dword [edi + 8], 0
mov eax, dword [edi + 0x5c]
je 0x474488
mov ecx, dword [edi + 0x58]
mov esi, dword [eax + ecx*4]
cmp esi, 0xffffffff
jne 0x47444d
mov eax, dword [ebp - 0xd4]
mov dword [edi + 0x48], eax
jmp 0x4744be
mov ecx, dword [ebp - 0xd8]
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, esi
ja 0x47447a
mov eax, dword [ebp - 0xdc]
mov dword [edi + 0x48], eax
jmp 0x4744be
mov ecx, dword [edi + 0x18]
lea eax, [esi + esi*2]
lea eax, [ecx + eax*4]
mov dword [edi + 0x48], eax
jmp 0x4744be
mov ecx, dword [edi + 0x60]
cmp eax, ecx
je 0x4744b7
nop
cmp dword [eax], 0xffffffff
je 0x47449c
add eax, 4
cmp eax, ecx
jne 0x474490
cmp eax, ecx
je 0x4744b7
mov ecx, dword [ebp - 0xe0]
lea eax, [edi + 0x4c]
mov byte [edi + 0x54], 1
mov dword [eax], ecx
mov dword [edi + 0x50], esi
mov dword [edi + 0x48], eax
jmp 0x4744be
mov dword [edi + 0x48], 0
lea eax, [ebp - 0xf4]
mov byte [ebp - 4], 9
push eax
mov byte [ebp - 4], 8
call fcn.00481950
mov ecx, dword [ebp - 0x34]
mov eax, 0x2aaaaaab
sub ecx, dword [ebp - 0x38]
add esp, 0xdc
imul ecx
mov dword [ebp - 0xd4], 0xffffffff
sar edx, 2
mov esi, edx
shr esi, 0x1f
add esi, edx
mov edx, SysReAllocString
mov dword [ebp - 0xe4], esi
add esi, 0xffffffff
mov dword [ebp - 0xe0], esi
mov dword [ebp - 0xdc], esi
js 0x474698
lea ecx, [esi + esi*2]
shl ecx, 3
mov dword [ebp - 0xd8], ecx
nop word [eax + eax]
mov edi, dword [ebp - 0x38]
add edi, ecx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
cmp dword [edi + 0x14], 8
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x14], eax
jb 0x474551
mov edi, dword [edi]
cmp eax, 8
jae 0x47456c
movups xmm0, xmmword [edi]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
movups xmmword [ebp - 0x2c], xmm0
jmp 0x4745b7
mov esi, eax
lea ecx, [ebp - 0x2c]
or esi, 7
cmp esi, 0x7ffffffe
cmova esi, edx
lea eax, [esi + 1]
push eax
call fcn.0041eaa0
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], eax
lea ecx, [ecx*2 + 2]
push ecx
push edi
push eax
call fcn.004cbb10
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov dword [ebp - 0x1c], eax
cmp esi, 8
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x18], esi
cmovae eax, dword [ebp - 0x2c]
mov esi, dword [ebp - 0xdc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
mov edx, dword [ebp - 0x18]
test eax, eax
jne 0x474620
cmp edx, 8
jb 0x4745fc
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4745f2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x474aa6
push edx
push ecx
call fcn.0046956a
add esp, 8
mov ecx, dword [ebp - 0xd8]
dec esi
sub ecx, 0x18
mov dword [ebp - 0xdc], esi
mov dword [ebp - 0xd8], ecx
mov edx, SysReAllocString
test esi, esi
js 0x474698
jmp 0x474530
mov dword [ebp - 0xd4], esi
cmp edx, 8
jb 0x47465d
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x474653
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x474aab
push edx
push ecx
call fcn.0046956a
add esp, 8
test esi, esi
js 0x474693
mov eax, dword [ebp - 0x38]
lea esi, [esi + esi*2]
shl esi, 3
add eax, esi
cmp dword [eax + 0x14], 8
jb 0x474674
mov eax, dword [eax]
push eax
call fcn.00491ee0
test eax, eax
jne 0x474693
mov eax, dword [ebp - 0x38]
add eax, esi
cmp dword [eax + 0x14], 8
jb 0x47468b
mov eax, dword [eax]
push 1
push eax
call fcn.00491300
mov edx, SysReAllocString
mov esi, dword [ebp - 0xd4]
inc esi
mov dword [ebp - 0xd8], esi
cmp esi, dword [ebp - 0xe4]
jge 0x4747d1
lea ecx, [esi + esi*2]
shl ecx, 3
mov dword [ebp - 0xdc], ecx
nop dword [eax]
mov edi, dword [ebp - 0x38]
add edi, ecx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
cmp dword [edi + 0x14], 8
mov eax, dword [edi + 0x10]
mov dword [ebp - 0xd4], eax
jb 0x4746e4
mov edi, dword [edi]
cmp eax, 8
jae 0x4746ff
movups xmm0, xmmword [edi]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
movups xmmword [ebp - 0x2c], xmm0
jmp 0x474750
mov esi, eax
lea ecx, [ebp - 0x2c]
or esi, 7
cmp esi, 0x7ffffffe
cmova esi, edx
lea eax, [esi + 1]
push eax
call fcn.0041eaa0
mov ecx, dword [ebp - 0xd4]
mov dword [ebp - 0x2c], eax
lea ecx, [ecx*2 + 2]
push ecx
push edi
push eax
call fcn.004cbb10
mov eax, dword [ebp - 0xd4]
add esp, 0xc
mov dword [ebp - 0x1c], eax
cmp esi, 8
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x18], esi
cmovae eax, dword [ebp - 0x2c]
mov esi, dword [ebp - 0xd8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x47476f
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push 0
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x4747a9
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47479f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x474aa6
push edx
push ecx
call fcn.0046956a
add esp, 8
mov ecx, dword [ebp - 0xdc]
inc esi
add ecx, 0x18
mov dword [ebp - 0xd8], esi
mov dword [ebp - 0xdc], ecx
cmp esi, dword [ebp - 0xe4]
jge 0x4747d1
mov edx, SysReAllocString
jmp 0x4746c0
mov eax, dword [ebp - 0xe0]
test eax, eax
js 0x474930
lea edx, [eax + eax*2]
lea ecx, [eax + 2]
shl edx, 3
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0xd8], edx
mov edi, dword [ebp - 0x38]
add edi, edx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
cmp dword [edi + 0x14], 8
mov eax, dword [edi + 0x10]
mov dword [ebp - 0xd4], eax
jb 0x474815
mov edi, dword [edi]
cmp eax, 8
jae 0x474828
movups xmm0, xmmword [edi]
mov esi, 7
movups xmmword [ebp - 0x2c], xmm0
jmp 0x47486b
mov esi, eax
lea ecx, [ebp - 0x2c]
or esi, 7
mov eax, SysReAllocString
cmp esi, 0x7ffffffe
cmova esi, eax
lea eax, [esi + 1]
push eax
call fcn.0041eaa0
mov ecx, dword [ebp - 0xd4]
mov dword [ebp - 0x2c], eax
lea ecx, [ecx*2 + 2]
push ecx
push edi
push eax
call fcn.004cbb10
mov eax, dword [ebp - 0xd4]
add esp, 0xc
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], eax
mov edi, dword [ebp - 0xe0]
mov byte [ebp - 4], 0xc
test edi, edi
je 0x4748a6
mov edx, dword [ebp - 0xe4]
lea eax, [ecx - 1]
cmp edx, eax
je 0x4748a6
cmp edx, ecx
je 0x4748a6
cmp esi, 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.00491ee0
test eax, eax
je 0x4748cd
jmp 0x4748ba
cmp esi, 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.00491ee0
test eax, eax
jne 0x4748cd
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push 1
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.00491300
mov edx, dword [ebp - 0x18]
mov byte [ebp - 4], 8
cmp edx, 8
jb 0x47490b
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x474901
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x474aa6
push edx
push ecx
call fcn.0046956a
add esp, 8
mov edx, dword [ebp - 0xd8]
dec edi
mov ecx, dword [ebp - 0x14]
sub edx, 0x18
dec ecx
mov dword [ebp - 0xe0], edi
mov dword [ebp - 0xd8], edx
mov dword [ebp - 0x14], ecx
test edi, edi
jns 0x4747f1
mov ecx, dword [ebp - 0x38]
mov byte [ebp - 4], 7
test ecx, ecx
je 0x4749a7
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x34]
push ecx
call fcn.0047cd30
mov ecx, dword [ebp - 0x30]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x38]
add esp, 0xc
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x474988
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x474ab0
push ecx
push esi
call fcn.0046956a
add esp, 8
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov edx, dword [ebp - 0x68]
mov byte [ebp - 4], 6
cmp edx, 8
jb 0x4749e5
mov ecx, dword [ebp - 0x7c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4749db
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x474ab5
push edx
push ecx
call fcn.0046956a
add esp, 8
xor eax, eax
mov dword [ebp - 0x6c], 0
mov word [ebp - 0x7c], ax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x68], 7
test eax, eax
je 0x474a28
or ecx, 0xffffffff
lock xadd dword [eax + 0x20], ecx
jne 0x474a28
mov esi, dword [ebp - 0x4c]
test esi, esi
je 0x474a28
mov ecx, esi
lea eax, [esi + 0xc]
mov esi, dword [eax]
mov dword [eax], 0
push 1
mov eax, dword [ecx]
call dword [eax]
test esi, esi
jne 0x474a11
mov dword [ebp - 0x4c], 0
mov ecx, dword [ebp - 0x3c]
mov byte [ebp - 4], 0xd
test ecx, ecx
je 0x474a4d
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x474a4d
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov edx, dword [ebp - 0x50]
cmp edx, 8
jb 0x474a83
mov ecx, dword [ebp - 0x64]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x474a79
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x474aba
push edx
push ecx
call fcn.0046956a
add esp, 8
mov eax, dword [ebp - 0xe8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046997a
mov esp, ebp
pop ebp
ret 0xc
call fcn.004d5908
call fcn.004d5908
call fcn.004d5908
call fcn.004d5908
call fcn.004d5908
int3