Function at 0x1805215f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x181c600c]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
xor esi, esi
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], esi
lea eax, [edi + 4]
push eax
call fcn.1801548d
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x1819440c
push eax
push ecx
lea eax, [ebp - 0x38]
mov dword [ebp - 0x10], esi
push eax
mov ecx, ebx
mov dword [ebp - 0xc], 0x200
call fcn.1805b48e
pop ecx
push eax
mov ecx, edi
call fcn.180513dc
mov esi, eax
test esi, esi
js 0x1805247a
xor eax, eax
push eax
push eax
push eax
push eax
push str.ping_freshness
lfence
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1805221d
mov esi, 0x1816ac5c
lea edi, [ebp - 0x38]
lea eax, [ebp - 0x38]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [sym.imp.ole32.dll_CoCreateGuid]
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0x18]
call fcn.1800d2f6
push 1
lea ecx, [ebp - 0x14]
push dword [eax]
push str.ping_freshness
call fcn.1801a6b2
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.18007012
mov edi, dword [ebp - 0x44]
mov ecx, ebx
call fcn.1805b541
mov ecx, ebx
lfence
test al, al
je 0x18052241
lea eax, [ebp - 0x18]
push eax
call fcn.1805b46e
mov cl, byte [edi]
mov edx, eax
call fcn.1802a5b1
jmp 0x1805226d
lea eax, [ebp - 0x38]
push eax
call fcn.1805b48e
push eax
mov ecx, edi
call fcn.18050e40
test al, al
jne 0x18052282
lea eax, [ebp - 0x18]
mov ecx, ebx
push eax
lfence
call fcn.1805b46e
mov cl, byte [edi]
mov edx, eax
call fcn.1802a55d
mov ecx, dword [ebp - 0x18]
mov esi, eax
lea ecx, [ecx - 0x10]
call fcn.18007012
test esi, esi
js 0x1805247a
lea eax, [ebp - 0x18]
mov ecx, ebx
push eax
lfence
call fcn.1805b4e5
mov ecx, dword [ebp - 0x18]
mov eax, dword [eax]
lea ecx, [ecx - 0x10]
mov esi, dword [eax - 0xc]
call fcn.18007012
test esi, esi
je 0x180522cb
lea eax, [ebp - 0x18]
mov ecx, ebx
push eax
call fcn.1805b4e5
push 1
lea ecx, [ebp - 0x14]
push dword [eax]
push str.lang
call fcn.1801a6b2
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.18007012
lea eax, [ebp - 0x18]
mov ecx, ebx
push eax
call fcn.1805c072
mov ecx, dword [ebp - 0x18]
mov eax, dword [eax]
lea ecx, [ecx - 0x10]
mov esi, dword [eax - 0xc]
call fcn.18007012
test esi, esi
jne 0x180522f9
push 0x1819de50
lea ecx, [ebp - 0x14]
call fcn.18019c89
jmp 0x18052320
lea eax, [ebp - 0x18]
mov ecx, ebx
push eax
call fcn.1805c072
push 1
lea ecx, [ebp - 0x14]
push dword [eax]
push 0x1819de50
call fcn.1801a6b2
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.18007012
lea eax, [ebp - 0x24]
xor esi, esi
push eax
mov ecx, ebx
mov dword [ebp - 0x28], esi
call fcn.1805b48e
push eax
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.180511db
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
lea esi, [ebx + 8]
mov eax, dword [esi]
xchg dword [esi], eax
add eax, 4
lea ecx, [ebp - 0x1c]
push eax
call fcn.1801548d
mov edi, dword [ebx + 0xfc]
lea ecx, [ebp - 0x1c]
call fcn.180154b8
and dword [ebp - 0x30], 0
and dword [ebp - 0x2c], 0
mov eax, dword [esi]
xchg dword [esi], eax
add eax, 4
lea ecx, [ebp - 0x30]
push eax
call fcn.1801548d
mov ecx, dword [ebx + 0x88]
sub ecx, 0x10
call fcn.1800a175
add eax, 0x10
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x18], eax
call fcn.180154b8
lea eax, [ebp - 0x4c]
mov ecx, ebx
push eax
call fcn.1805b6da
mov esi, eax
mov ecx, ebx
lea eax, [ebp - 0x48]
push eax
call fcn.1805bb06
push edi
lea ecx, [ebp - 0x18]
mov edx, eax
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.1802bdcc
mov ecx, dword [ebp - 0x48]
add esp, 0xc
lea ecx, [ecx - 0x10]
call fcn.18007012
mov ecx, dword [ebp - 0x4c]
lea ecx, [ecx - 0x10]
call fcn.18007012
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.18007012
mov edi, dword [ebp - 0x44]
mov cl, byte [edi]
call fcn.18026170
test al, al
je 0x18052405
push 1
push 0x181a2b9c
push str.oeminstall
lea ecx, [ebp - 0x14]
call fcn.1801a6b2
mov ecx, ebx
call fcn.1805ba70
test eax, eax
jne 0x1805241f
push str.browser
lea ecx, [ebp - 0x14]
call fcn.18019c89
jmp 0x18052434
mov ecx, ebx
call fcn.1805ba70
push eax
push str.browser
lea ecx, [ebp - 0x14]
call fcn.1801a65e
mov ecx, ebx
call fcn.1805babb
cmp eax, 2
je 0x1805246d
mov ecx, ebx
lfence
call fcn.1805babb
mov esi, eax
mov ecx, ebx
lea eax, [ebp - 0x44]
push eax
call fcn.1805b46e
mov cl, byte [edi]
mov edx, eax
push esi
call fcn.1802ba06
pop ecx
mov ecx, dword [ebp - 0x44]
lea ecx, [ecx - 0x10]
call fcn.18007012
mov ecx, dword [ebp - 0x28]
xor esi, esi
lea ecx, [ecx - 0x10]
call fcn.18007012
cmp dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0x1819440c
je 0x1805249b
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0x200
lea ecx, [ebp - 0x40]
call fcn.180154b8
mov ecx, dword [ebp - 8]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.18117a58
leave
ret 4