Function at 0x474ac0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56d9c7
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 ecx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0x90], edi
mov eax, dword [ecx + 0x20]
mov esi, dword [ecx + 0x1c]
cmp esi, eax
je 0x474b2d
mov edi, eax
nop dword [eax + eax]
mov ecx, esi
call fcn.00484140
add esi, 0x30
cmp esi, edi
jne 0x474b10
mov ecx, dword [ebp - 0x94]
mov edi, dword [ebp - 0x90]
mov esi, dword [ecx + 0x1c]
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
mov dword [ecx + 0x20], esi
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 0
push eax
push ecx
call fcn.00473a10
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x9c], eax
cmp esi, eax
jne 0x474c32
call fcn.0041c100
mov ecx, eax
test ecx, ecx
je 0x475505
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x84], eax
push 0x58fb7c
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 1
call fcn.0040e980
test al, al
jne 0x474bc2
push 5
push 0x58fb7c
lea ecx, [ebp - 0x84]
call fcn.0040fb90
mov esi, dword [ebp - 0x84]
mov ecx, 0x400
mov edx, esi
mov byte [ebp - 4], 2
sub edx, edi
lea eax, [ecx + 0x7ffffbfe]
test eax, eax
je 0x474bf3
movzx eax, word [edx + edi]
test ax, ax
je 0x474bf3
mov word [edi], ax
add edi, 2
sub ecx, 1
jne 0x474bd5
test ecx, ecx
lea eax, [edi - 2]
push str.CreateSafeBox_err_disk_unavailable
cmovne eax, edi
xor ecx, ecx
mov word [eax], cx
call fcn.00435810
add esp, 4
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x474c25
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x1c]
call fcn.00483e80
jmp 0x475362
cmp dword [esi + 0x20], 0x10
mov edx, SysReAllocString
je 0x474e01
cmp dword [esi + 0x14], 8
mov ecx, esi
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x80], esi
jb 0x474c5a
mov ecx, dword [esi]
mov dword [ebp - 0x80], ecx
cmp eax, 8
jae 0x474c6d
movups xmm0, xmmword [ecx]
mov ecx, 7
movups xmmword [ebp - 0x4c], xmm0
jmp 0x474cb1
or eax, 7
lea ecx, [ebp - 0x4c]
cmp eax, 0x7ffffffe
cmova eax, edx
mov dword [ebp - 0x8c], eax
inc eax
push eax
call fcn.0041eaa0
mov ecx, dword [ebp - 0x88]
mov dword [ebp - 0x4c], eax
lea ecx, [ecx*2 + 2]
push ecx
push dword [ebp - 0x80]
push eax
call fcn.004cbb10
mov eax, dword [ebp - 0x88]
add esp, 0xc
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], eax
cmp ecx, 8
mov byte [ebp - 4], 3
lea eax, [ebp - 0x4c]
cmovae eax, dword [ebp - 0x4c]
push eax
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x94]
call fcn.00473fe0
push str.3FE042F1_E916_4E1B_87D4_42E2371AEAC9
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0047c440
add esp, 0xc
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
push 0
cmovae eax, dword [ebp - 0x34]
push eax
mov byte [ebp - 4], 5
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x475384
mov edx, dword [ebp - 0x20]
mov byte [ebp - 4], 4
cmp edx, 8
jb 0x474d5e
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x474d54
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x475519
push edx
push ecx
call fcn.0046956a
add esp, 8
mov edx, dword [ebp - 0x50]
xor eax, eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x474db0
mov ecx, dword [ebp - 0x64]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x474da6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x475519
push edx
push ecx
call fcn.0046956a
add esp, 8
mov edx, dword [ebp - 0x38]
xor eax, eax
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], ax
mov byte [ebp - 4], al
cmp edx, 8
jb 0x474e01
mov ecx, dword [ebp - 0x4c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x474df7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x475519
push edx
push ecx
call fcn.0046956a
add esp, 8
mov ecx, dword [ebp - 0x94]
lea eax, [ebp - 0xfc]
push eax
call fcn.00473600
cmp dword [esi + 0x14], 8
mov ecx, esi
mov byte [ebp - 4], 8
jb 0x474e21
mov ecx, dword [esi]
push dword [esi + 0x10]
push ecx
push 0
mov ecx, eax
call fcn.0048d2a0
mov dword [ebp - 0x24], 0
xor ecx, ecx
mov dword [ebp - 0x20], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x34], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x24], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push 1
push 0x5809d0
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 9
call fcn.00434120
mov dword [ebp - 0x3c], 0
xor ecx, ecx
mov dword [ebp - 0x38], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x4c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x3c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push 0x24
push str.3FE042F1_E916_4E1B_87D4_42E2371AEAC9
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0xa
call fcn.00434120
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x7c], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
movq qword [ebp - 0x6c], xmm0
mov word [eax], cx
mov edx, dword [ebp - 0x38]
mov byte [ebp - 4], 0xc
cmp edx, 8
jb 0x474f1a
mov ecx, dword [ebp - 0x4c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x474f10
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x475519
push edx
push ecx
call fcn.0046956a
add esp, 8
xor eax, eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
mov edx, dword [ebp - 0x20]
mov byte [ebp - 4], 0xd
cmp edx, 8
jb 0x474f6c
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x474f62
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x475519
push edx
push ecx
call fcn.0046956a
add esp, 8
xor eax, eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
mov edx, dword [ebp - 0xe8]
mov byte [ebp - 4], 0xe
cmp edx, 8
jb 0x474fc4
mov ecx, dword [ebp - 0xfc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x474fba
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x475519
push edx
push ecx
call fcn.0046956a
add esp, 8
mov ecx, dword [ebp - 0x6c]
xor eax, eax
cmp dword [ebp - 0x68], 8
mov word [ebp - 0xfc], ax
lea eax, [ebp - 0x7c]
cmovae eax, dword [ebp - 0x7c]
mov dword [ebp - 0xec], 0
mov dword [ebp - 0xe8], 7
mov dword [ebp - 0x8c], eax
cmp ecx, 8
jae 0x475012
movups xmm0, xmmword [eax]
mov dword [ebp - 0x54], ecx
mov eax, 7
mov dword [ebp - 0x50], 7
movups xmmword [ebp - 0x64], xmm0
jmp 0x475060
mov eax, ecx
mov ecx, SysReAllocString
or eax, 7
cmp eax, 0x7ffffffe
cmova eax, ecx
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x90], eax
inc eax
push eax
call fcn.0041eaa0
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x64], eax
lea ecx, [ecx*2 + 2]
push ecx
push dword [ebp - 0x8c]
push eax
call fcn.004cbb10
mov eax, dword [ebp - 0x6c]
add esp, 0xc
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x84], eax
mov ecx, eax
mov dword [ebp - 0x80], eax
cmp dword [esi + 0x14], 8
mov edx, dword [esi + 0x10]
mov byte [ebp - 4], 0xf
mov dword [ebp - 0x98], edx
mov dword [ebp - 0x88], esi
jb 0x47508c
mov edx, dword [esi]
mov dword [ebp - 0x88], edx
mov edx, dword [ebp - 0x84]
cmovb ecx, eax
cmovb edx, dword [ebp - 0x80]
mov dword [ebp - 0x84], edx
mov edx, dword [ebp - 0x98]
mov dword [ebp - 0x90], ecx
cmp edx, 8
jae 0x4750fe
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0xa4], edx
mov edx, 7
mov dword [ebp - 0xa0], 7
mov dword [ebp - 0x80], 7
movups xmm0, xmmword [eax]
mov dword [ebp - 0x84], 7
mov dword [ebp - 0x88], 7
movups xmmword [ebp - 0xb4], xmm0
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x8c], eax
jmp 0x475178
mov eax, edx
mov ecx, SysReAllocString
or eax, 7
cmp eax, 0x7ffffffe
cmova eax, ecx
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0x80], eax
inc eax
push eax
call fcn.0041eaa0
mov ecx, dword [ebp - 0x98]
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0xb4], eax
lea ecx, [ecx*2 + 2]
push ecx
push dword [ebp - 0x88]
push eax
call fcn.004cbb10
mov eax, dword [ebp - 0x98]
add esp, 0xc
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x80]
mov edx, eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x90], ecx
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x88], eax
xor eax, eax
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xd0], 7
mov word [ebp - 0xe4], ax
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb8], 7
mov word [ebp - 0xcc], ax
cmp ecx, 8
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x6c]
lea eax, [ebp - 0x64]
cmovae eax, dword [ebp - 0x64]
cmovb edx, dword [ebp - 0x88]
push ecx
push eax
lea ecx, [ebp - 0xcc]
mov dword [ebp - 0x88], edx
call fcn.0048c6c0
cmp dword [ebp - 0x90], 8
mov eax, dword [ebp - 0x84]
cmovb eax, dword [ebp - 0x80]
mov byte [ebp - 4], 0x10
cmp eax, 8
jb 0x47522c
mov edx, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x8c]
mov eax, ecx
lea edx, [edx*2 + 2]
cmp edx, 0x1000
jb 0x475222
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x475519
push edx
push ecx
call fcn.0046956a
add esp, 8
mov edx, dword [ebp - 0x50]
mov byte [ebp - 4], 0xe
cmp edx, 8
jb 0x47526a
mov ecx, dword [ebp - 0x64]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x475260
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x475519
push edx
push ecx
call fcn.0046956a
add esp, 8
mov ecx, dword [ebp - 0x94]
lea edx, [ebp - 0xe4]
add ecx, 0x1c
mov byte [ebp - 4], 0x14
push edx
mov eax, dword [ecx + 4]
push eax
cmp dword [ecx + 8], eax
je 0x47529c
push ecx
call fcn.004810c0
mov ecx, dword [ebp - 0x94]
add esp, 0xc
add dword [ecx + 0x20], 0x30
jmp 0x4752a1
call fcn.0047d4e0
mov edx, dword [ebp - 0xb8]
mov byte [ebp - 4], 0xe
cmp edx, 8
jb 0x4752e5
mov ecx, dword [ebp - 0xcc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4752db
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x475519
push edx
push ecx
call fcn.0046956a
add esp, 8
xor eax, eax
mov dword [ebp - 0xbc], 0
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0xb8], 7
mov word [ebp - 0xcc], ax
call fcn.0041a710
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0
call fcn.00448db4
add esi, 0x28
cmp esi, dword [ebp - 0x9c]
jne 0x474c32
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x475362
lea ecx, [ebp - 0x1c]
push ecx
push dword [ebp - 0x18]
push eax
call fcn.0047ccc0
mov ecx, dword [ebp - 0x14]
mov eax, 0x66666667
mov esi, dword [ebp - 0x1c]
add esp, 0xc
sub ecx, esi
imul ecx
lea ecx, [ebp - 0x1c]
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
call fcn.0048c880
mov eax, 1
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 8
call fcn.0041c100
mov ecx, eax
test ecx, ecx
je 0x47550f
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x80], eax
push 0x58fbd0
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 6
call fcn.0040e980
test al, al
jne 0x4753c4
push 7
push 0x58fbd0
lea ecx, [ebp - 0x80]
call fcn.0040fb90
mov esi, dword [ebp - 0x80]
mov ecx, 0x400
mov edx, esi
mov byte [ebp - 4], 7
sub edx, edi
lea eax, [ecx + 0x7ffffbfe]
test eax, eax
je 0x4753f2
movzx eax, word [edx + edi]
test ax, ax
je 0x4753f2
mov word [edi], ax
add edi, 2
sub ecx, 1
jne 0x4753d4
test ecx, ecx
lea eax, [edi - 2]
push str.CreateSafeBox_err_mkdir
cmovne eax, edi
xor ecx, ecx
mov word [eax], cx
call fcn.00435810
add esp, 4
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x475424
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x20]
cmp edx, 8
jb 0x47545e
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x475454
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x475519
push edx
push ecx
call fcn.0046956a
add esp, 8
mov edx, dword [ebp - 0x50]
xor eax, eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
cmp edx, 8
jb 0x4754ac
mov ecx, dword [ebp - 0x64]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4754a2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47551e
push edx
push ecx
call fcn.0046956a
add esp, 8
mov edx, dword [ebp - 0x38]
xor eax, eax
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], ax
cmp edx, 8
jb 0x4754f6
mov ecx, dword [ebp - 0x4c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4754ec
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x475523
push edx
push ecx
call fcn.0046956a
add esp, 8
lea ecx, [ebp - 0x1c]
call fcn.00483e80
xor eax, eax
jmp 0x475367
push 0x80004005
call fcn.00408fa0
push 0x80004005
call fcn.00408fa0
call fcn.004d5908
call fcn.004d5908
call fcn.004d5908
int3