Function at 0x423d10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x524d09
mov eax, dword fs:[0]
push eax
sub esp, 0x284
mov eax, dword [0x58e5a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov byte [ebp - 0x249], cl
mov al, byte [ebp + 8]
mov byte [ebp - 0x21c], al
mov dword [ebp - 4], 0
cmp byte [0x58f030], 0
jne 0x423d6a
mov byte [ebp - 0x249], 0
jmp 0x423fc9
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov dword [ebp - 0x230], eax
lea eax, [ebp - 0x218]
push 0x104
push eax
mov dword [ebp - 0x22c], edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp byte [ebp - 0x249], 0
je 0x423dc2
push 0x104
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0x564cb4
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.004fbc53
add esp, 0xc
push 0x560f9c
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.004fbc53
mov esi, dword [0x58f118]
add esp, 0xc
cmp byte [ebp - 0x21c], 0
mov eax, str.AutorunsDisabled
mov edx, 0x5629d0
mov dword [ebp - 0x220], 0
cmove edx, eax
xorps xmm0, xmm0
mov ecx, edx
movq qword [ebp - 0x228], xmm0
lea eax, [ecx + 2]
mov dword [ebp - 0x250], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x423e15
sub ecx, dword [ebp - 0x250]
mov eax, SysReAllocString
sar ecx, 1
sub eax, esi
cmp eax, ecx
jb 0x424002
cmp dword [0x58f11c], 8
mov eax, 0x58f108
push ecx
cmovae eax, dword [0x58f108]
lea ecx, [ebp - 0x268]
push edx
push esi
push eax
push 0x58f108
push dword [ebp - 0x250]
call fcn.004109a0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x268]
cmp dword [ebp - 0x254], 8
push 0x20019
cmovae eax, dword [ebp - 0x268]
push eax
lea eax, [ebp - 0x228]
push reloc.OLEAUT32.dll_SysReAllocString
push eax
call fcn.0042ec90
add esp, 0x10
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 3
call fcn.00409020
cmp dword [ebp - 0x228], 0
je 0x423f54
lea eax, [ebp - 0x218]
mov dword [ebp - 0x240], edi
mov dword [ebp - 0x248], eax
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x244], eax
lea eax, [ebp + 0x34]
mov dword [ebp - 0x23c], eax
lea eax, [ebp - 0x230]
movups xmm0, xmmword [ebp - 0x248]
mov dword [ebp - 0x238], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x234], eax
lea eax, [ebp - 0x290]
movups xmmword [ebp - 0x28c], xmm0
mov dword [ebp - method.std::_Func_impl_no_alloc_class__lambda_c737ca4f7d2c6230d34d7f9e84ab38ab___void__class_ATL::CRegKey___unsigned_long_int__unsigned_short_int_const__.virtual_0], vtable.std::_Func_impl_no_alloc_class__lambda_c737ca4f7d2c6230d34d7f9e84ab38ab___void__class_ATL::CRegKey___unsigned_long_int__unsigned_short_int_const__.0
movq xmm0, qword [ebp - 0x238]
movq qword [ebp - 0x27c], xmm0
mov dword [ebp - 0x26c], eax
mov edx, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x228]
call fcn.0042e030
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x26c]
test ecx, ecx
je 0x423f54
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x290]
cmp ecx, eax
setne al
push eax
call edx
cmp byte [ebp - 0x21c], 0
je 0x423f9d
push dword [ebp + 0x34]
sub esp, 0x28
mov esi, esp
mov dword [ebp - 0x250], esi
mov dword [esi + 0x24], 0
mov byte [ebp - 4], 5
mov ecx, dword [ebp + 0x30]
test ecx, ecx
je 0x423f87
mov eax, dword [ecx]
push esi
mov eax, dword [eax]
call eax
mov dword [esi + 0x24], eax
mov cl, byte [ebp - 0x249]
mov edx, edi
push 0
mov byte [ebp - 4], 3
call fcn.00423d10
add esp, 0x30
mov eax, dword [ebp - 0x228]
mov byte [ebp - 0x249], 1
test eax, eax
je 0x423fbf
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0
mov ecx, dword [ebp + 0x30]
test ecx, ecx
je 0x423fe1
mov esi, dword [ecx]
lea eax, [ebp + 0xc]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov al, byte [ebp - 0x249]
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.004d2a60
mov esp, ebp
pop ebp
ret
call fcn.00408560
int3