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

Disassembly:
sub esp, 0x474
push ebx
push ebp
push esi
push edi
push dword [0x4bda84]
call fcn.00433fc1
xor ebx, ebx
xor ebp, ebp
inc ebx
mov esi, eax
cmp dword [0x4ba394], ebp
jne 0x41856e
push ebp
mov dword [0x4ba394], ebx
call dword [sym.imp.ole32.dll_OleInitialize]
mov edi, 0xa4
push edi
push ebp
push 0x4ba2f0
call sub.MSVCRT.dll_memset
push 0x30
mov dword [0x4ba2f4], edi
lea eax, [esp + 0x38]
pop edi
push edi
push ebp
push eax
mov dword [0x4ba2f0], 0x12
mov dword [0x4ba2fc], 0x418933
mov dword [0x4ba304], 0x4190f4
mov dword [0x4ba308], 0x418db1
mov dword [0x4ba30c], 0x419141
mov dword [0x4ba330], 0x418b90
mov dword [0x4ba334], 0x41902e
mov dword [0x4ba358], 0x4189b0
mov dword [0x4ba35c], 0x418e47
call sub.MSVCRT.dll_memset
mov eax, dword [0x4b8b98]
add esp, 0x18
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x28]
mov dword [esp + 0x28], edi
mov dword [esp + 0x30], 0x4186d3
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 [0x4bdaa8], 0x4187af
push eax
push dword [0x4b8b98]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor eax, eax
lea ecx, [esp + 0x74]
mov word [esp + 0x27c], ax
mov edx, ecx
mov ax, word [esp + 0x74]
test ax, ax
je 0x418503
movzx eax, ax
cmp ax, 0x2f
je 0x4184f5
cmp ax, 0x5c
jne 0x4184f8
lea edx, [ecx + 2]
add ecx, 2
movzx eax, word [ecx]
test ax, ax
jne 0x4184e9
push edx
lea eax, [esp + 0x280]
push eax
call sub.MSVCRT.dll_wcscpy
pop ecx
pop ecx
cmp word [esp + 0x27c], bp
je 0x41856e
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 0x41856e
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.00424e4c
push ebp
push dword [0x4b8b98]
push 0xffffffffffffffff
push dword [esi]
push dword [esp + 0x4a8]
push dword [esp + 0x4a8]
push dword [esp + 0x4a8]
push dword [esp + 0x4a8]
push 0x50000000
push 0x49f2e8
push str.PureWeb
push ebp
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, eax
test edi, edi
je 0x4186c4
push 0xffffffffffffffeb
push edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [esp + 0x488]
mov ebx, eax
push dword [0x4bda7c]
call fcn.00434052
push 0x4ba2f0
push edi
mov esi, eax
push esi
push dword [esp + 0x494]
call fcn.00420a53
push esi
mov edi, eax
call fcn.00418858
mov ecx, dword [ebx]
push 1
push ebx
call dword [ecx + 0xf0]
cmp dword [esi + 0x10], ebp
je 0x4186ad
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 0x4186ad
mov ebx, dword [sym.imp.USER32.dll_PeekMessageW]
jmp 0x41868d
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 0x418677
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esi + 0x10]
cmp dword [eax + 0x20], ebp
je 0x41868d
mov eax, dword [esp + 0x49c]
test eax, eax
je 0x4186c4
cmp word [eax], bp
je 0x4186c4
push eax
push esi
call fcn.00419141
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x474
ret 0x1c