Function at 0x47ad10
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a1d48
mov eax, dword fs:[0]
push eax
sub esp, 0x888
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 - 0x890], ecx
mov eax, dword [ebp + 0xc]
push ecx
push str.OperateTempFolder::CopyDriverSetToTempSub
lea ecx, [ebp - 0x878]
mov dword [ebp - 0x87c], eax
call fcn.0040a480
mov dword [ebp - 4], 0
mov esi, dword [0x608f30]
cmp esi, 0x608f30
je 0x47adaa
test byte [esi + 0x1c], 1
je 0x47adaa
cmp dword [0x608f68], 8
mov eax, 0x608f54
mov edx, 0x5cf920
mov ecx, 0x2c
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
lea eax, [ebp - 0x430]
mov dword [ebp - 0x888], 0
push 0
push eax
call fcn.00571c00
push 0x208
lea eax, [ebp - 0x228]
push 0
push eax
call fcn.00571c00
push 0x208
lea eax, [ebp - 0x840]
push 0
push eax
call fcn.00571c00
mov eax, dword [0x6184f0]
add esp, 0x24
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 0x3d4]
mov dword [ebp - 0x884], eax
mov eax, dword [ebp - 0x87c]
test eax, eax
jne 0x47ae22
mov edi, 0x80010001
mov dword [0x6183ec], 1
jmp 0x47b333
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
or esi, 0xffffffff
cmp dword [ecx + 0x7f8], 2
mov dword [ebp - 0x880], esi
jne 0x47ae80
lea ecx, [ebp - 0x88c]
call fcn.00430700
push 0
lea eax, [ebp - 0x880]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x88c]
call fcn.00436650
lea ecx, [ebp - 0x88c]
mov byte [ebp - 4], 0
call fcn.004307d0
mov esi, dword [ebp - 0x880]
cmp esi, 2
jge 0x47aecc
mov eax, dword [ebp - 0x87c]
nop dword [eax]
push 1
push esi
lea ecx, [ebp - 0x430]
push ecx
lea ecx, [ebp - 0x840]
push ecx
push dword [ebp + 8]
mov ecx, 0x618568
push eax
call fcn.00448fb0
cmp dword [ebp - 0x884], 0
mov dword [ebp - 0x888], eax
je 0x47aecc
push 0x5c6930
lea eax, [ebp - 0x430]
push eax
call edi
test eax, eax
jne 0x47aecc
mov eax, dword [ebp - 0x87c]
inc esi
cmp esi, 2
jl 0x47ae80
push 0x5c6930
lea eax, [ebp - 0x430]
push eax
call edi
test eax, eax
jne 0x47aef2
mov edi, 0x8001001b
mov dword [0x6183ec], 0x1b
jmp 0x47b32d
or edi, 0xffffffff
cmp dword [ebp - 0x884], 0
jbe 0x47af76
mov ecx, dword [ebp - 0x890]
mov eax, dword [ecx + 0x14]
test eax, eax
jle 0x47af76
xor edi, edi
nop dword [eax]
test edi, edi
js 0x47b39f
cmp edi, eax
jge 0x47b39f
mov eax, dword [ecx + 0x10]
mov ecx, dword [eax + edi*4]
sub ecx, 0x10
call fcn.00403af0
lea esi, [eax + 0x10]
lea eax, [ebp - 0x430]
push eax
push esi
call fcn.00574f99
add esp, 8
mov byte [ebp - 4], 0
add esi, 0xfffffff0
test eax, eax
je 0x47afd3
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x47af65
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x890]
inc edi
mov eax, dword [ecx + 0x14]
cmp edi, eax
jl 0x47af10
or edi, 0xffffffff
mov esi, dword [ebp - 0x888]
test esi, esi
jne 0x47b327
lea ecx, [ebp - 0x880]
call fcn.00437ff0
push 1
lea eax, [ebp - 0x840]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x228]
push eax
push dword [ebp + 8]
lea ecx, [ebp - 0x880]
call fcn.004394c0
test eax, eax
jne 0x47aff1
mov dword [ebp - 0x888], 0x80010041
mov esi, 0x80010041
mov dword [0x6183ec], 0x41
jmp 0x47b058
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x47b327
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x47b327
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x47b058
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x47b049
test byte [ecx + 0x1c], 4
je 0x47b049
cmp dword [0x608f68], 8
lea edx, [ebp - 0x228]
push edx
mov eax, 0x608f54
mov edx, 0x5cf920
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x2d
call fcn.00405920
add esp, 0x10
push 0
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea ecx, [ebp - 0x880]
mov byte [ebp - 4], 0
call fcn.004380c0
test esi, esi
jne 0x47b327
mov ecx, dword [ebp - 0x890]
lea eax, [ebp - 0x430]
add ecx, 0xc
push eax
push dword [ecx + 8]
call fcn.0055b606
push 0x208
lea eax, [ebp - 0x638]
xorps xmm0, xmm0
push esi
push eax
movups xmmword [ebp - 0x20], xmm0
call fcn.00571c00
push esi
push esi
push esi
push esi
push 0x104
lea eax, [ebp - 0x638]
push eax
push 8
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x430]
push eax
call fcn.00580f0a
push esi
push esi
lea eax, [ebp - 0x638]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x430]
push 0x104
push eax
call fcn.00580cd3
add esp, 0x48
cmp dword [ebp - 0x884], esi
jbe 0x47b28b
call fcn.00550b4e
mov ecx, eax
test ecx, ecx
je 0x47b3a4
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x87c], eax
lea eax, [ebp - 0x638]
mov byte [ebp - 4], 4
test eax, 0xffff0000
jne 0x47b130
movzx eax, ax
lea ecx, [ebp - 0x87c]
push eax
call fcn.00403020
jmp 0x47b162
lea ecx, [ebp - 0x638]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47b140
sub ecx, edx
lea eax, [ebp - 0x638]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x87c]
call fcn.00403bb0
mov byte [ebp - 4], 5
mov esi, dword [ebp - 0x87c]
push 0x5c
push esi
call fcn.00571054
add esp, 8
test eax, eax
jne 0x47b180
or eax, 0xffffffff
jmp 0x47b184
sub eax, esi
sar eax, 1
push 1
push eax
lea ecx, [ebp - 0x87c]
call fcn.00446f40
mov esi, dword [ebp - 0x87c]
push 0x5c
push esi
call fcn.00571054
mov ecx, eax
add esp, 8
test ecx, ecx
jne 0x47b1ae
or ecx, 0xffffffff
jmp 0x47b1b2
sub ecx, esi
sar ecx, 1
mov eax, dword [esi - 0xc]
sub eax, ecx
push eax
push ecx
lea eax, [ebp - 0x88c]
push eax
lea ecx, [ebp - 0x87c]
call fcn.0041d2b0
mov byte [ebp - 4], 6
lea ecx, [esi - 0x10]
mov eax, dword [ebp - 0x88c]
mov dword [ebp - 0x884], ecx
lea edx, [eax - 0x10]
mov dword [ebp - 0x880], edx
cmp edx, ecx
je 0x47b24c
cmp dword [ecx + 0xc], 0
jl 0x47b231
mov esi, dword [ebp - 0x884]
mov ecx, dword [edx]
cmp ecx, dword [esi]
jne 0x47b231
mov ecx, edx
call fcn.00403af0
mov dword [ebp - 0x884], eax
lea edx, [esi + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x47b226
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x884]
lea esi, [eax + 0x10]
mov dword [ebp - 0x87c], esi
jmp 0x47b246
push dword [eax - 0xc]
lea ecx, [ebp - 0x87c]
push eax
call fcn.00403bb0
mov esi, dword [ebp - 0x87c]
mov edx, dword [ebp - 0x880]
mov byte [ebp - 4], 5
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47b264
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push esi
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x47b28b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x47b2f2
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x47b2e3
test byte [ecx + 0x1c], 4
je 0x47b2e3
cmp dword [0x608f68], 8
lea edx, [ebp - 0x228]
push edx
mov eax, 0x608f54
mov edx, 0x5cf920
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x2e
call fcn.00405920
add esp, 0x10
push 0
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea ecx, [ebp - 0x880]
call fcn.0046a2f0
push 0
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x430]
push eax
lea ecx, [ebp - 0x880]
call fcn.0046e250
lea ecx, [ebp - 0x880]
call fcn.0046a3c0
mov edi, dword [ebp - 0x888]
mov esi, dword [0x608f30]
mov byte [ebp - 0x874], 1
cmp esi, 0x608f30
je 0x47b375
test byte [esi + 0x1c], 1
je 0x47b375
cmp dword [0x608f68], 8
mov eax, 0x608f54
push edi
cmovae eax, dword [0x608f54]
mov edx, 0x5cf920
push eax
push dword [esi + 0x14]
mov ecx, 0x2f
push dword [esi + 0x10]
call fcn.004018a0
add esp, 0x10
lea ecx, [ebp - 0x878]
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 8
call fcn.005511b9
push 0x80004005
call fcn.004013a0
int3