Function at 0x47a2e0
Capabilities:
Create directory
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a1cc4
mov eax, dword fs:[0]
push eax
sub esp, 0xee4
mov eax, dword [0x608554]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xedc], ecx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
push ecx
mov dword [ebp - 0xed4], ecx
lea ecx, [ebp - 0xec8]
push str.OperateTempFolder::CopyDriverToTempSub
mov dword [ebp - 0xef0], eax
call fcn.0040a480
mov dword [ebp - 4], 0
mov esi, dword [0x608f30]
cmp esi, 0x608f30
je 0x47a383
test byte [esi + 0x1c], 1
je 0x47a383
cmp dword [0x608f68], 8
mov eax, 0x608f54
mov edx, 0x5cf920
mov ecx, 0x28
cmovae eax, dword [0x608f54]
push eax
push dword [esi + 0x14]
push dword [esi + 0x10]
call fcn.00401840
mov esi, dword [0x608f30]
add esp, 0xc
push 0x208
xor edi, edi
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.00571c00
push 0x208
lea eax, [ebp - 0x420]
push edi
push eax
call fcn.00571c00
push 0x208
lea eax, [ebp - 0xe48]
push edi
push eax
call fcn.00571c00
push 0x208
lea eax, [ebp - 0x628]
push edi
push eax
call fcn.00571c00
mov eax, dword [0x6184f0]
add esp, 0x30
mov dword [ebp - 0xeec], edi
mov eax, dword [eax + 8]
mov ecx, dword [eax + 0x3d4]
mov dword [ebp - 0xee0], ecx
cmp dword [ebp - 0xef0], edi
je 0x47ac71
mov ecx, dword [ebp - 0xed4]
test ecx, ecx
je 0x47ac71
or esi, 0xffffffff
cmp dword [eax + 0x7f8], 2
mov dword [ebp - 0xed0], esi
jne 0x47a460
lea ecx, [ebp - 0xecc]
call fcn.00430700
push edi
lea eax, [ebp - 0xed0]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0xecc]
call fcn.00436650
lea ecx, [ebp - 0xecc]
mov byte [ebp - 4], 0
call fcn.004307d0
mov esi, dword [ebp - 0xed0]
cmp esi, 2
jge 0x47a4ac
mov ecx, dword [ebp - 0xed4]
nop dword [eax + eax]
push 1
push esi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0xe48]
push eax
push dword [ebp + 8]
push ecx
mov ecx, 0x618568
call fcn.00448fb0
cmp dword [ebp - 0xee0], 0
mov edi, eax
je 0x47a4ac
push 0x5c6930
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x47a4ac
mov ecx, dword [ebp - 0xed4]
inc esi
cmp esi, 2
jl 0x47a460
push 0x5c6930
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x47a4dc
mov esi, dword [0x608f30]
mov edi, 0x8001001b
mov dword [0x6183ec], 0x1b
jmp 0x47ac80
test edi, edi
jne 0x47ac53
call fcn.00550b4e
mov ecx, eax
test ecx, ecx
je 0x47acec
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0xecc], eax
mov eax, 0x5c8a8c
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xecc]
test eax, 0xffff0000
jne 0x47a524
movzx eax, ax
push eax
call fcn.00403020
jmp 0x47a530
push 3
push 0x5c8a8c
call fcn.00403bb0
cmp dword [ebp - 0xee0], 0
mov byte [ebp - 4], 3
jbe 0x47a56a
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47a546
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xecc]
call fcn.00403bb0
jmp 0x47a581
push dword [ebp + 8]
lea eax, [ebp - 0xecc]
push 0x5c6b38
push eax
call fcn.00408a60
add esp, 0xc
mov esi, dword [ebp - 0xecc]
xor eax, eax
mov ecx, esi
mov dword [ebp - 0xe50], 0
mov dword [ebp - 0xe4c], 7
mov word [ebp - 0xe60], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47a5b0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0xe60]
call fcn.004035d0
mov eax, dword [ebp - 0xedc]
lea ecx, [ebp - 0xe60]
push ecx
lea ecx, [ebp - 0xed8]
push ecx
lea ecx, [eax + 4]
call fcn.00402cf0
mov edx, dword [ebp - 0xe4c]
mov eax, dword [eax]
mov dword [ebp - 0xed0], eax
cmp edx, 8
jb 0x47a636
mov ecx, dword [ebp - 0xe60]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47a626
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47acf6
push edx
push ecx
call fcn.0056deb6
mov eax, dword [ebp - 0xed0]
add esp, 8
mov ecx, dword [ebp - 0xedc]
cmp eax, dword [ecx + 4]
jne 0x47a88a
lea eax, [ebp - 0x628]
mov ecx, 0x618548
push eax
lea eax, [ebp - 0x218]
push eax
push dword [ebp + 8]
call fcn.0047b680
mov edi, eax
mov dword [ebp - 0xed8], edi
test edi, edi
jne 0x47a8a3
lea ecx, [ebp - 0xe5c]
call fcn.0055b16f
push 0xffffffffffffffff
push edi
lea ecx, [ebp - 0xe5c]
mov byte [ebp - 4], 4
call fcn.0055b63e
lea ecx, [ebp - 0xed0]
call fcn.0046a2f0
push 1
lea eax, [ebp - 0xe5c]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x628]
push eax
lea ecx, [ebp - 0xed0]
call fcn.0046bb90
mov eax, dword [ebp - 0xe54]
mov ecx, eax
mov dword [ebp - 0xee4], ecx
test ecx, ecx
jle 0x47a702
nop dword [eax]
test edi, edi
js 0x47acfb
cmp edi, eax
jge 0x47acfb
mov eax, dword [ebp - 0xe58]
push 0x20
push dword [eax + edi*4]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
inc edi
cmp edi, dword [ebp - 0xee4]
jge 0x47a702
mov eax, dword [ebp - 0xe54]
jmp 0x47a6d0
push 0x208
lea eax, [ebp - 0xc40]
push 0
push eax
call fcn.00571c00
push 0x208
lea eax, [ebp - 0xa38]
push 0
push eax
call fcn.00571c00
push 0x104
lea eax, [ebp - 0xa38]
push eax
push 0x104
lea eax, [ebp - 0xc40]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00580f0a
lea eax, [ebp - 0xa38]
push eax
lea eax, [ebp - 0xc40]
push 0x104
push eax
call fcn.00574a48
add esp, 0x48
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0xc40]
push eax
lea eax, [ebp - 0x628]
push 0x104
push eax
call fcn.00574a48
mov ecx, esi
mov dword [ebp - 0xe80], 0
add esp, 0xc
mov dword [ebp - 0xe7c], 7
xor eax, eax
mov word [ebp - 0xe90], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47a7c0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0xe90]
call fcn.004035d0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x628]
xor eax, eax
mov dword [ebp - 0xe68], 0
mov dword [ebp - 0xe64], 7
lea edx, [ecx + 2]
mov word [ebp - 0xe78], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47a806
sub ecx, edx
lea eax, [ebp - 0x628]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xe78]
call fcn.004035d0
mov edi, dword [ebp - 0xedc]
lea eax, [ebp - 0xe90]
push eax
mov byte [ebp - 4], 7
lea ecx, [edi + 4]
call fcn.00404be0
push eax
add eax, 0x10
push eax
push ecx
lea eax, [ebp - 0xee8]
push eax
lea ecx, [edi + 4]
call fcn.00404c50
lea ecx, [ebp - 0xe78]
call fcn.00403570
lea ecx, [ebp - 0xe90]
call fcn.00403570
lea ecx, [ebp - 0xed0]
call fcn.0046a3c0
lea ecx, [ebp - 0xe5c]
call fcn.0055b186
mov edi, dword [ebp - 0xed8]
jmp 0x47a8a3
add eax, 0x28
cmp dword [eax + 0x14], 8
jb 0x47a895
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x47a8bf
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
jne 0x47ac53
lea ecx, [ebp - 0xed0]
call fcn.00437ff0
push 1
lea eax, [ebp - 0xe48]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x420]
push eax
push dword [ebp + 8]
lea ecx, [ebp - 0xed0]
call fcn.004394c0
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x47a90f
mov edi, 0x80010041
mov dword [0x6183ec], 0x41
jmp 0x47a972
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x47a972
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x47a967
test byte [ecx + 0x1c], 4
je 0x47a967
cmp dword [0x608f68], 8
lea edx, [ebp - 0x420]
push edx
mov eax, 0x608f54
mov edx, 0x5cf920
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x29
call fcn.00405920
add esp, 0x10
push 0
lea eax, [ebp - 0x420]
push eax
call esi
lea ecx, [ebp - 0xed0]
mov byte [ebp - 4], 0
call fcn.004380c0
test edi, edi
jne 0x47ac53
push 0x208
lea eax, [ebp - 0x830]
xorps xmm0, xmm0
push edi
push eax
movups xmmword [ebp - 0xe58], xmm0
call fcn.00571c00
push 0x208
lea eax, [ebp - 0xa38]
push edi
push eax
call fcn.00571c00
push edi
push edi
push edi
push edi
push 0x104
lea eax, [ebp - 0x830]
push eax
push 8
lea eax, [ebp - 0xe58]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00580f0a
push edi
push edi
lea eax, [ebp - 0x830]
push eax
lea eax, [ebp - 0xe58]
push eax
lea eax, [ebp - 0xa38]
push 0x104
push eax
call fcn.00580cd3
add esp, 0x54
cmp dword [ebp - 0xee0], edi
jbe 0x47abac
call fcn.00550b4e
mov ecx, eax
test ecx, ecx
je 0x47ad00
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0xecc], eax
lea eax, [ebp - 0x830]
mov byte [ebp - 4], 9
test eax, 0xffff0000
jne 0x47aa4d
movzx eax, ax
lea ecx, [ebp - 0xecc]
push eax
call fcn.00403020
jmp 0x47aa78
lea ecx, [ebp - 0x830]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47aa56
sub ecx, edx
lea eax, [ebp - 0x830]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xecc]
call fcn.00403bb0
mov byte [ebp - 4], 0xa
mov esi, dword [ebp - 0xecc]
push 0x5c
push esi
call fcn.00571054
add esp, 8
test eax, eax
jne 0x47aa96
or eax, 0xffffffff
jmp 0x47aa9a
sub eax, esi
sar eax, 1
push 1
push eax
lea ecx, [ebp - 0xecc]
call fcn.00446f40
mov esi, dword [ebp - 0xecc]
push 0x5c
push esi
call fcn.00571054
mov ecx, eax
add esp, 8
test ecx, ecx
jne 0x47aac4
or ecx, 0xffffffff
jmp 0x47aac8
sub ecx, esi
sar ecx, 1
mov eax, dword [esi - 0xc]
sub eax, ecx
push eax
push ecx
lea eax, [ebp - 0xed8]
push eax
lea ecx, [ebp - 0xecc]
call fcn.0041d2b0
mov byte [ebp - 4], 0xb
lea ecx, [esi - 0x10]
mov eax, dword [ebp - 0xed8]
mov dword [ebp - 0xee4], ecx
lea edx, [eax - 0x10]
mov dword [ebp - 0xed0], edx
cmp edx, ecx
je 0x47ab63
cmp dword [ecx + 0xc], 0
jl 0x47ab48
mov esi, dword [ebp - 0xee4]
mov ecx, dword [edx]
cmp ecx, dword [esi]
jne 0x47ab48
mov ecx, edx
call fcn.00403af0
mov dword [ebp - 0xee4], eax
lea edx, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x47ab3d
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0xee4]
lea esi, [eax + 0x10]
mov dword [ebp - 0xecc], esi
jmp 0x47ab5d
push dword [eax - 0xc]
lea ecx, [ebp - 0xecc]
push eax
call fcn.00403bb0
mov esi, dword [ebp - 0xecc]
mov edx, dword [ebp - 0xed0]
mov byte [ebp - 4], 0xa
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47ab7c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push esi
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x47aba6
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x47ac0f
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x47ac04
test byte [ecx + 0x1c], 4
je 0x47ac04
cmp dword [0x608f68], 8
lea edx, [ebp - 0x420]
push edx
mov eax, 0x608f54
mov edx, 0x5cf920
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x2a
call fcn.00405920
add esp, 0x10
push 0
lea eax, [ebp - 0x420]
push eax
call esi
mov eax, dword [0x6184f4]
push ecx
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0xeec]
push ecx
lea ecx, [ebp - 0x420]
push ecx
mov ecx, dword [ebp - 0xed4]
push ecx
lea ecx, [ebp - 0x628]
push ecx
mov ecx, dword [eax + 8]
call fcn.00530da0
test eax, eax
je 0x47ac5b
mov edi, 0x80010005
mov dword [0x6183ec], 5
mov esi, dword [0x608f30]
jmp 0x47ac80
mov ecx, dword [ebp - 0xef0]
mov eax, dword [ebp - 0xeec]
mov dword [ecx], eax
mov esi, dword [0x608f30]
jmp 0x47ac80
mov edi, 0x80010001
mov dword [0x6183ec], 1
mov byte [ebp - 0xec4], 1
cmp esi, 0x608f30
je 0x47acc2
test byte [esi + 0x1c], 1
je 0x47acc2
cmp dword [0x608f68], 8
mov eax, 0x608f54
push edi
cmovae eax, dword [0x608f54]
mov edx, 0x5cf920
push eax
push dword [esi + 0x14]
mov ecx, 0x2b
push dword [esi + 0x10]
call fcn.004018a0
add esp, 0x10
lea ecx, [ebp - 0xec8]
call fcn.0040a570
mov eax, edi
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.0056d977
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.004013a0
call fcn.00574908
call fcn.005511b9
push 0x80004005
call fcn.004013a0
int3