Function at 0x479430
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a1b11
mov eax, dword fs:[0]
push eax
sub esp, 0x868
mov eax, dword [0x608554]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x864], ecx
push ecx
push str.OperateTempFolder::CopyDriverSetToTemp
lea ecx, [ebp - 0x848]
call fcn.0040a480
mov dword [ebp - 4], 0
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x4794bc
test byte [ecx + 0x1c], 1
je 0x4794bc
cmp dword [0x608f68], 8
mov eax, 0x608f54
mov edx, 0x5cf920
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x16
call fcn.00401840
add esp, 0xc
mov ecx, dword [0x6184f0]
xor ebx, ebx
mov dword [ebp - 0x850], 0
mov eax, dword [ecx + 8]
mov eax, dword [eax + 0x3d4]
mov dword [ebp - 0x868], eax
mov eax, dword [ecx + 4]
mov eax, dword [eax + 4]
mov esi, dword [eax]
mov edi, dword [eax + 4]
call fcn.00550b4e
mov ecx, eax
test ecx, ecx
je 0x47994b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x858], eax
push 0xac
lea ecx, [ebp - 0x858]
mov byte [ebp - 4], 1
call fcn.00403020
mov ecx, dword [0x6184f8]
lea eax, [esi + edi]
push eax
push 0x3f1
call fcn.004b2fb0
mov esi, dword [ebp - 0x858]
mov ecx, dword [0x6184f8]
push esi
push 0x3f1
call fcn.004b3300
push 0x800
lea eax, [ebp - 0x810]
push ebx
push eax
call fcn.00571c00
mov ecx, dword [0x6184f0]
lea eax, [ebp - 0x810]
add esp, 0xc
mov ecx, dword [ecx + 0x1c]
push eax
push str.INSTALLDIR
call fcn.004f65f0
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x4795d8
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x4795c9
test byte [ecx + 0x1c], 4
je 0x4795c9
cmp dword [0x608f68], 8
lea edx, [ebp - 0x810]
push edx
mov eax, 0x608f54
mov edx, 0x5cf920
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
lea ecx, [ebx + 0x17]
call fcn.00405920
add esp, 0x10
push 0
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [0x6184f0]
push 1
mov ecx, dword [ecx + 4]
call fcn.004feca0
mov edi, eax
lea ecx, [ebp - 0x85c]
mov dword [ebp - 0x84c], edi
call fcn.00443080
mov byte [ebp - 4], 2
test edi, edi
je 0x47971c
nop word [eax + eax]
mov edx, dword [0x608f30]
cmp edx, 0x608f30
je 0x47965c
test byte [edx + 0x1c], 4
je 0x47965c
push dword [edi + 0x3c90]
cmp dword [0x608f68], 8
lea eax, [edi + 8]
push dword [edi]
mov ecx, 0x608f54
cmovae ecx, dword [0x608f54]
push eax
push ecx
push dword [edx + 0x14]
mov ecx, 0x18
push dword [edx + 0x10]
mov edx, 0x5cf920
call fcn.00478ad0
add esp, 0x18
mov ecx, dword [0x6184f4]
mov edi, 1
mov dword [ebp - 0x854], 0x63
mov ecx, dword [ecx + 4]
call fcn.0050a840
mov esi, dword [ebp - 0x84c]
mov ecx, dword [esi + 0x3c90]
or ecx, eax
mov dword [ebp - 0x84c], ecx
nop dword [eax]
test edi, ecx
je 0x4796df
lea eax, [ebp - 0x854]
push eax
push edi
lea ecx, [ebp - 0x85c]
call fcn.00446490
test ebx, edi
jne 0x4796d9
mov ecx, dword [ebp - 0x864]
lea eax, [esi + 8]
push eax
push dword [ebp - 0x854]
call fcn.0047ad10
cmp dword [ebp - 0x868], 0
mov ecx, dword [ebp - 0x84c]
mov dword [ebp - 0x850], eax
ja 0x4796df
or ebx, edi
jmp 0x4796df
mov ecx, dword [ebp - 0x84c]
add edi, edi
cmp edi, 0x40
jbe 0x479690
mov ecx, dword [0x6184f0]
mov ecx, dword [ecx + 4]
call fcn.004fee60
mov ecx, dword [0x6184f8]
mov edi, eax
push 1
push 0x3f1
mov dword [ebp - 0x84c], edi
call fcn.004b3160
test edi, edi
jne 0x479610
mov esi, dword [ebp - 0x858]
mov ecx, dword [0x6184f0]
xor edx, edx
mov dword [ebp - 0x86c], edx
mov eax, dword [ecx + 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x874], eax
test eax, eax
jle 0x4798a0
xor esi, esi
mov dword [ebp - 0x870], esi
nop dword [eax]
mov eax, dword [ecx + 4]
mov ecx, dword [eax + 4]
cmp edx, dword [ecx + 4]
jge 0x47976f
lea edi, [ecx + 0x5c7264]
mov dword [eax + 0x14], 1
mov dword [eax + 8], edx
add edi, esi
jmp 0x479771
xor edi, edi
mov dword [ebp - 0x854], edi
mov edx, dword [0x608f30]
cmp edx, 0x608f30
je 0x4797c3
test byte [edx + 0x1c], 4
je 0x4797c3
push dword [edi + 0x3c90]
cmp dword [0x608f68], 8
lea eax, [edi + 8]
push dword [edi]
mov ecx, 0x608f54
cmovae ecx, dword [0x608f54]
push eax
push ecx
push dword [edx + 0x14]
mov ecx, 0x19
push dword [edx + 0x10]
mov edx, 0x5cf920
call fcn.00478ad0
add esp, 0x18
cmp dword [edi + 4], 3
jne 0x47985c
mov ecx, dword [0x6184f4]
mov edi, 1
mov dword [ebp - 0x860], 0x63
mov ecx, dword [ecx + 4]
call fcn.0050a840
mov esi, dword [ebp - 0x854]
mov ecx, dword [esi + 0x3c90]
or ecx, eax
mov dword [ebp - 0x84c], ecx
nop
test edi, ecx
je 0x47984f
lea eax, [ebp - 0x860]
push eax
push edi
lea ecx, [ebp - 0x85c]
call fcn.00446490
test ebx, edi
jne 0x479849
mov ecx, dword [ebp - 0x864]
lea eax, [esi + 8]
push eax
push dword [ebp - 0x860]
call fcn.0047ad10
cmp dword [ebp - 0x868], 0
mov ecx, dword [ebp - 0x84c]
mov dword [ebp - 0x850], eax
ja 0x47984f
or ebx, edi
jmp 0x47984f
mov ecx, dword [ebp - 0x84c]
add edi, edi
cmp edi, 0x40
jbe 0x479800
mov esi, dword [ebp - 0x870]
mov ecx, dword [0x6184f8]
push 1
push 0x3f1
call fcn.004b3160
mov edx, dword [ebp - 0x86c]
add esi, 0x413c
inc edx
mov dword [ebp - 0x870], esi
mov dword [ebp - 0x86c], edx
cmp edx, dword [ebp - 0x874]
jge 0x47989a
mov ecx, dword [0x6184f0]
jmp 0x479750
mov esi, dword [ebp - 0x858]
mov eax, dword [0x6184f4]
mov ecx, dword [eax + 8]
call fcn.00532480
mov byte [ebp - 0x844], 1
mov ecx, dword [0x608f30]
mov edi, dword [ebp - 0x850]
cmp ecx, 0x608f30
je 0x4798fb
test byte [ecx + 0x1c], 1
je 0x4798fb
cmp dword [0x608f68], 8
mov eax, 0x608f54
push edi
cmovae eax, dword [0x608f54]
mov edx, 0x5cf920
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x1a
call fcn.004018a0
add esp, 0x10
lea ecx, [ebp - 0x85c]
call fcn.00443150
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x479922
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x848]
call fcn.0040a570
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0056d977
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004013a0
int3