Function at 0x4016b8
Capabilities:
Resolve function by parsing pe exports
Set registry value

Disassembly:
sub esp, 0x474
push edi
push dword [0x43e8d4]
call fcn.00404126
test byte [esp + 0x494], 1
mov edi, eax
je 0x401711
push dword [esp + 0x494]
push dword [esp + 0x494]
push dword [esp + 0x494]
push dword [esp + 0x494]
push dword [esp + 0x494]
push dword [esp + 0x494]
push dword [esp + 0x494]
call fcn.00406160
jmp 0x401a08
push ebx
push ebp
xor ebx, ebx
xor ebp, ebp
inc ebx
push esi
cmp dword [0x43e8c0], ebp
jne 0x4018ad
push ebp
mov dword [0x43e8c0], ebx
call dword [sym.imp.ole32.dll_OleInitialize]
mov esi, 0xa8
push esi
push ebp
push 0x43e818
call fcn.00401020
push 0x30
mov dword [0x43e81c], esi
lea eax, [esp + 0x38]
pop esi
push esi
push ebp
push eax
mov dword [0x43e818], 0x12
mov dword [0x43e824], 0x402322
mov dword [0x43e82c], 0x401b30
mov dword [0x43e830], 0x401b91
mov dword [0x43e834], 0x401be0
mov dword [0x43e858], 0x401c69
mov dword [0x43e85c], 0x401e92
mov dword [0x43e880], 0x401f58
mov dword [0x43e884], 0x402138
call fcn.00401020
mov eax, dword [0x43e808]
add esp, 0x18
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x28]
mov dword [esp + 0x28], esi
mov dword [esp + 0x30], 0x40239d
push eax
mov dword [esp + 0x54], str.PureWeb
mov dword [esp + 0x30], 3
call dword [sym.imp.USER32.dll_RegisterClassExW]
push 0x104
lea eax, [esp + 0x78]
mov dword [0x43e8dc], 0x40247b
push eax
push dword [0x43e808]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor eax, eax
lea ecx, [esp + 0x74]
mov word [esp + 0x27c], ax
mov esi, ecx
mov ax, word [esp + 0x74]
test ax, ax
je 0x401842
movzx edx, ax
cmp dx, 0x2f
je 0x401833
cmp dx, 0x5c
je 0x401833
add ecx, 2
jmp 0x401838
add ecx, 2
mov esi, ecx
movzx eax, word [ecx]
mov edx, eax
test ax, ax
jne 0x401822
lea eax, [esp + 0x27c]
push esi
push eax
call fcn.00405d09
pop ecx
pop ecx
cmp word [esp + 0x27c], bp
je 0x4018ad
push ebp
lea eax, [esp + 0x14]
push eax
push ebp
push 0x20006
push ebx
push ebp
push ebp
push str.SOFTWAREMicrosoftInternet_ExplorerMainFeatureControlFEATURE_BROWSER_EMULATION
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4018ad
push 4
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x2af9
push eax
push 4
push ebp
lea eax, [esp + 0x28c]
push eax
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x498]
push eax
lea eax, [esp + 0x498]
push eax
lea eax, [esp + 0x498]
push eax
lea eax, [esp + 0x498]
push eax
call fcn.00405f10
push ebp
push dword [0x43e808]
push 0xffffffffffffffff
push dword [edi]
push dword [esp + 0x4a8]
push dword [esp + 0x4a8]
push dword [esp + 0x4a8]
push dword [esp + 0x4a8]
push 0x50000000
push 0x43862c
push str.PureWeb
push ebp
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, eax
test edi, edi
je 0x401a03
push 0xffffffffffffffeb
push edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [esp + 0x488]
mov ebx, eax
push dword [0x43e8d0]
call fcn.00405de8
push 0x43e818
push edi
mov esi, eax
push esi
push dword [esp + 0x494]
call fcn.00405f65
push esi
mov edi, eax
call fcn.00401a57
mov ecx, dword [ebx]
push 1
push ebx
call dword [ecx + 0xf0]
cmp dword [esi + 0x10], ebp
je 0x4019ec
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push 8
pop eax
push str.about:blank
mov word [esp + 0x1c], ax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push ebp
push ebp
push ebp
push ebp
mov dword [esp + 0x30], eax
lea ecx, [esp + 0x28]
mov eax, dword [ebx]
push ecx
push ebx
call dword [eax + 0xd0]
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [esi + 0x10]
cmp dword [eax + 0x20], ebp
jne 0x4019ec
mov ebx, dword [sym.imp.USER32.dll_PeekMessageW]
jmp 0x4019cc
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 3
push ebp
push ebp
push ebp
lea eax, [esp + 0x68]
push eax
call ebx
test eax, eax
jne 0x4019b6
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esi + 0x10]
cmp dword [eax + 0x20], ebp
je 0x4019cc
mov eax, dword [esp + 0x49c]
test eax, eax
je 0x401a03
cmp word [eax], bp
je 0x401a03
push eax
push esi
call fcn.00401be0
pop esi
pop ebp
mov eax, edi
pop ebx
pop edi
add esp, 0x474
ret 0x1c