Function at 0x4197c0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4c4f9f
mov eax, dword fs:[0]
push eax
sub esp, 0x488
mov eax, dword [0x4e5d60]
xor eax, esp
mov dword [esp + 0x480], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e5d60]
xor eax, esp
push eax
lea eax, [esp + 0x49c]
mov dword fs:[0], eax
mov bl, byte [esp + 0x4ac]
xor ebp, ebp
mov dword [esp + 0x28], 0x208
mov dword [esp + 0x30], 1
mov dword [esp + 0x1c], ebp
test bl, 1
je 0x4198ec
push 0x410
lea eax, [esp + 0x88]
push ebp
push eax
call fcn.004aaf30
add esp, 0xc
lea ecx, [esp + 0x1c]
push ecx
push 0xf013f
push ebp
push str.SoftwareMicrosoftInternet_ExplorerMain
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov eax, dword [esp + 0x1c]
cmp eax, ebp
je 0x4198ec
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x88]
push ecx
lea edx, [esp + 0x38]
push edx
push ebp
push str.Start_Page
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x419891
mov eax, dword [esp + 0x28]
shr eax, 1
xor ecx, ecx
mov word [esp + eax*2 + 0x84], cx
lea edx, [esp + 0x84]
push str.home.vn
push edx
call fcn.004a6c9d
add esp, 8
test eax, eax
je 0x4198c3
lea eax, [esp + 0x84]
push str.home.vn
push eax
call fcn.004a6d30
add esp, 8
test eax, eax
je 0x4198dd
mov ecx, dword [esp + 0x1c]
push 0x16
push str.about:blank
push 1
push ebp
push str.Start_Page
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x1c], ebp
mov edx, 0x1c
lea ecx, [esp + 0x68]
call fcn.00413410
mov dword [esp + 0x4a4], ebp
call fcn.004990cf
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x41991b
push 0x80004005
call fcn.0040f160
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0x4a4], 1
mov eax, dword [esp + 0x6c]
mov edi, 8
cmp dword [esp + 0x80], edi
jae 0x419949
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x24]
push str._sGoogleChromeUser_DataDefaultPreferences
push ecx
call fcn.0040e520
add esp, 0xc
test bl, 2
je 0x4199aa
push 0x4cf374
call fcn.004168c0
add esp, 4
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str._startup_urls_:
call fcn.0040f300
mov esi, dword [esp + 0x28]
push esi
call fcn.00419510
add esp, 0xc
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str._homepage_:
call fcn.0040f300
push esi
call fcn.00419510
add esp, 0xc
call fcn.004990cf
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x4199c4
push 0x80004005
call fcn.0040f160
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov edx, 0x1a
lea ecx, [esp + 0x4c]
mov byte [esp + 0x4a4], 2
call fcn.00413410
mov byte [esp + 0x4a4], 3
mov eax, dword [esp + 0x50]
cmp dword [esp + 0x64], edi
jae 0x419a00
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x1c]
push str._sMozillaFirefoxprofiles.ini
push ecx
call fcn.0040e520
add esp, 0xc
lea edx, [esp + 0x38]
push edx
call fcn.00411a50
mov bl, 4
mov byte [esp + 0x4a4], bl
mov ebp, dword [esp + 0x18]
push ecx
lea eax, [ebp - 0x10]
mov dword [esp + 0x38], esp
mov esi, esp
push eax
call fcn.0040ec90
add eax, 0x10
add esp, 4
lea ecx, [esp + 0x3c]
mov dword [esi], eax
call fcn.0041bf70
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push str.Profile0
call fcn.0040f300
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push str.Path
mov byte [esp + 0x4b0], 5
call fcn.0040f300
lea edi, [esp + 0x2c]
lea esi, [esp + 0x40]
mov byte [esp + 0x4ac], bl
call fcn.0041be60
mov byte [esp + 0x4a4], 6
test byte [esp + 0x4ac], bl
je 0x419af9
mov eax, dword [esp + 0x24]
cmp dword [eax - 0xc], 0
jle 0x419af9
mov ecx, edi
push ecx
call fcn.0041b590
mov eax, dword [esp + 0x50]
mov esi, 8
cmp dword [esp + 0x64], esi
jae 0x419abf
lea eax, [esp + 0x50]
mov edx, dword [esp + 0x24]
push edx
push eax
lea eax, [esp + 0x20]
push str._sMozillaFirefox_sprefs.js
push eax
call fcn.0040e520
add esp, 0x10
push 2
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push str._browser.startup.homepage__
call fcn.0040f300
mov ebp, dword [esp + 0x20]
push ebp
call fcn.00419510
add esp, 0xc
jmp 0x419afe
mov esi, 8
test byte [esp + 0x4ac], 8
je 0x419b59
push 0x4cf374
call fcn.00417830
mov eax, dword [esp + 0x70]
add esp, 4
cmp dword [esp + 0x80], esi
jae 0x419b26
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x24]
push str._sCocCocBrowserUser_DataDefaultPreferences
push ecx
call fcn.0040e520
add esp, 0xc
push 3
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push str._startup_urls_:
call fcn.0040f300
mov edx, dword [esp + 0x28]
push edx
call fcn.00419510
add esp, 0xc
mov byte [esp + 0x4a4], bl
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419b80
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x38]
push ecx
mov byte [esp + 0x4a8], 3
call fcn.00411b40
cmp dword [esp + 0x64], esi
jb 0x419ba5
mov edx, dword [esp + 0x50]
push edx
call fcn.00498c5e
add esp, 4
xor eax, eax
mov word [esp + 0x50], ax
lea eax, [ebp - 0x10]
mov dword [esp + 0x64], 7
mov dword [esp + 0x60], 0
mov byte [esp + 0x4a4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419be0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x4a4], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419c08
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x80], esi
jb 0x419c1e
mov ecx, dword [esp + 0x6c]
push ecx
call fcn.00498c5e
add esp, 4
mov ecx, dword [esp + 0x49c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x480]
xor ecx, esp
call fcn.004a6859
add esp, 0x494
ret