Function at 0x47b3d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ff4b1
mov eax, dword fs:[0]
push eax
sub esp, 0x488
mov eax, dword [0x53d058]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x478], eax
mov dword [ebp - 0x474], eax
mov dword [ebp - 0x494], eax
xorps xmm0, xmm0
xor eax, eax
mov dword [ebp - 0x470], eax
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
push ecx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 1
call fcn.0047b8f0
lea ecx, [ebp - 0x490]
call fcn.00479c70
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.0046bde0
lea ecx, [ebp - 0x490]
mov byte [ebp - 4], 1
call fcn.004033a0
push str.generate_deviceid
mov edx, 0x10
lea ecx, [ebp - 0xf4]
call fcn.0040fef0
add esp, 4
mov esi, eax
mov byte [ebp - 4], 3
mov cl, byte [esi + 0x48]
test cl, cl
je 0x47b497
push str.machine_guid
push esi
call fcn.00414f60
mov cl, byte [esi + 0x48]
add esp, 8
mov edx, dword [ebp - 0x18]
add edx, 0xffffffe8
test cl, cl
je 0x47b4b7
cmp dword [edx + 0x14], 8
mov eax, dword [edx + 0x10]
jb 0x47b4ac
mov edx, dword [edx]
push eax
mov ecx, esi
call fcn.00434fc0
add esp, 4
lea ecx, [ebp - 0xf4]
call fcn.0040fdc0
push 0
xorps xmm0, xmm0
push 0
movlpd qword [ebp - 0x2c], xmm0
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov edi, eax
test edi, edi
js 0x47b4ec
mov esi, 0x53ece0
xor edi, edi
mov dword [ebp - 0x474], esi
mov dword [ebp - 0x28], esi
jmp 0x47b4fa
mov eax, 0x53ed5c
mov dword [ebp - 0x474], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], edi
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
mov byte [ebp - 4], 4
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
mov dword [ebp - 0x468], eax
test eax, eax
je 0x47b575
push str.initialize_security
mov edx, 4
lea ecx, [ebp - 0xf4]
call fcn.0040fef0
add esp, 4
mov esi, eax
mov byte [ebp - 4], 5
mov al, byte [esi + 0x48]
test al, al
je 0x47b56a
push str.initialize_security_err
push esi
call fcn.00414f60
mov al, byte [esi + 0x48]
add esp, 8
test al, al
je 0x47b56a
push dword [ebp - 0x468]
mov ecx, esi
call fcn.004131e0
lea ecx, [ebp - 0xf4]
call fcn.0040fdc0
xorps xmm0, xmm0
movlpd qword [ebp - 0x24], xmm0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov byte [ebp - 4], 6
push 0xc
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0x53ece0
call fcn.00498569
mov esi, eax
add esp, 4
mov dword [ebp - 0x468], esi
mov byte [ebp - 4], 7
test esi, esi
je 0x47b5ea
xorps xmm0, xmm0
movq qword [esi], xmm0
mov dword [esi + 8], 0
push str.ROOTCIMV2
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
test eax, eax
je 0x47b8da
jmp 0x47b5ec
xor esi, esi
mov byte [ebp - 4], 6
mov dword [ebp - 0x468], esi
test esi, esi
je 0x47b8e4
lea eax, [ebp - 0x34]
push eax
sub esp, 8
lea ecx, [ebp - 0x24]
push dword [esi]
call fcn.0047c3c0
lea ecx, [ebp - 0x468]
mov byte [ebp - 0x469], al
call fcn.004046a0
cmp byte [ebp - 0x469], 0
je 0x47b846
lea edx, [ebp - 0x24]
lea ecx, [ebp - 0x490]
call fcn.00479fa0
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 8
call fcn.0046bde0
lea ecx, [ebp - 0x490]
mov byte [ebp - 4], 6
call fcn.004033a0
push str.generate_deviceid
mov edx, 0x10
lea ecx, [ebp - 0xf4]
call fcn.0040fef0
add esp, 4
mov esi, eax
mov byte [ebp - 4], 9
mov cl, byte [esi + 0x48]
test cl, cl
je 0x47b68d
push str.system_uuid
push esi
call fcn.00414f60
mov cl, byte [esi + 0x48]
add esp, 8
mov edx, dword [ebp - 0x18]
add edx, 0xffffffe8
test cl, cl
je 0x47b6ad
cmp dword [edx + 0x14], 8
mov eax, dword [edx + 0x10]
jb 0x47b6a2
mov edx, dword [edx]
push eax
mov ecx, esi
call fcn.00434fc0
add esp, 4
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 6
call fcn.0040fdc0
lea eax, [ebp - 0x464]
mov dword [ebp - 0x464], 0
push eax
push 0
push 0
push 0x5066d0
mov esi, 0x43
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
mov edx, dword [ebp - 0x464]
test eax, eax
jne 0x47b718
test edx, edx
je 0x47b72d
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x468], eax
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47b700
sub ecx, dword [ebp - 0x468]
sar ecx, 1
je 0x47b718
movzx esi, word [edx]
test edx, edx
je 0x47b72d
push edx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov dword [ebp - 0x464], 0
push str.get_hdd_sn
lea ecx, [ebp - 0x460]
call fcn.0040fa90
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x4c]
mov eax, 0x3a
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x466], ax
xor eax, eax
mov word [ebp - 0x4c], ax
lea eax, [ebp - 0x468]
push 2
push eax
mov word [ebp - 0x468], si
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 7
call fcn.004034d0
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x4c]
cmp dword [ebp - 0x38], 8
lea edx, [ebp - 0x24]
lea ecx, [ebp - 0x490]
cmovae eax, dword [ebp - 0x4c]
push eax
call fcn.0047ad50
add esp, 4
lea ecx, [ebp - 0x4c]
mov eax, 2
mov dword [ebp - 0x470], eax
call fcn.004033a0
lea ecx, [ebp - 0x460]
call fcn.0040fcc0
lea eax, [ebp - 0x490]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x1c]
call fcn.0046bde0
lea ecx, [ebp - 0x490]
mov byte [ebp - 4], 6
call fcn.004033a0
push str.generate_deviceid
mov edx, 0x10
lea ecx, [ebp - 0xf4]
call fcn.0040fef0
add esp, 4
mov esi, eax
mov byte [ebp - 4], 0xd
mov cl, byte [esi + 0x48]
test cl, cl
je 0x47b817
push str.hdd_sn
push esi
call fcn.00414f60
mov cl, byte [esi + 0x48]
add esp, 8
mov edx, dword [ebp - 0x18]
add edx, 0xffffffe8
test cl, cl
je 0x47b837
cmp dword [edx + 0x14], 8
mov eax, dword [edx + 0x10]
jb 0x47b82c
mov edx, dword [edx]
push eax
mov ecx, esi
call fcn.00434fc0
add esp, 4
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 6
call fcn.0040fdc0
mov esi, dword [ebp - 0x478]
lea eax, [ebp - 0x34]
push eax
lea edx, [ebp - 0x1c]
mov ecx, esi
call fcn.00479ad0
add esp, 4
or dword [ebp - 0x470], 1
cmp dword [esi + 0x10], 0
jne 0x47b878
push 0x20
push str.00000000000000000000000000000000
mov ecx, esi
call fcn.004034d0
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x47b889
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x47b89a
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x474]
mov eax, dword [eax + 4]
cmp eax, dword [0x53ece4]
jne 0x47b8b5
test edi, edi
jne 0x47b8b5
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [ebp - 0x1c]
call fcn.00425850
mov eax, esi
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.0049852a
mov esp, ebp
pop ebp
ret
push 0x8007000e
call fcn.004983c0
push 0x8007000e
call fcn.004983c0
int3