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

Disassembly:
sub esp, 0x474
push edi
push dword [0x5af4c0]
call fcn.004bef0d
test byte [esp + 0x494], 1
mov edi, eax
je 0x49a452
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.004a2cb0
jmp 0x49a749
push ebx
push ebp
xor ebx, ebx
xor ebp, ebp
inc ebx
push esi
cmp dword [0x5add98], ebp
jne 0x49a5ee
push ebp
mov dword [0x5add98], ebx
call dword [sym.imp.ole32.dll_OleInitialize]
mov esi, 0xa8
push esi
push ebp
push 0x5adcf0
call fcn.0045cb60
push 0x30
mov dword [0x5adcf4], esi
lea eax, [esp + 0x38]
pop esi
push esi
push ebp
push eax
mov dword [0x5adcf0], 0x12
mov dword [0x5adcfc], 0x49a9d2
mov dword [0x5add04], 0x49b19a
mov dword [0x5add08], 0x49ae56
mov dword [0x5add0c], 0x49b1fb
mov dword [0x5add30], 0x49ac2d
mov dword [0x5add34], 0x49b0d4
mov dword [0x5add58], 0x49aa4d
mov dword [0x5add5c], 0x49aeea
call fcn.0045cb60
mov eax, dword [0x5acc90]
add esp, 0x18
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x28]
mov dword [esp + 0x28], esi
mov dword [esp + 0x30], 0x49a773
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 [0x5af4b8], 0x49a851
push eax
push dword [0x5acc90]
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 0x49a583
movzx edx, ax
cmp dx, 0x2f
je 0x49a574
cmp dx, 0x5c
je 0x49a574
add ecx, 2
jmp 0x49a579
add ecx, 2
mov esi, ecx
movzx eax, word [ecx]
mov edx, eax
test ax, ax
jne 0x49a563
lea eax, [esp + 0x27c]
push esi
push eax
call fcn.00540568
pop ecx
pop ecx
cmp word [esp + 0x27c], bp
je 0x49a5ee
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 reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x49a5ee
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.004aaa03
push ebp
push dword [0x5acc90]
push 0xffffffffffffffff
push dword [edi]
push dword [esp + 0x4a8]
push dword [esp + 0x4a8]
push dword [esp + 0x4a8]
push dword [esp + 0x4a8]
push 0x50000000
push 0x56cd58
push str.PureWeb
push ebp
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, eax
test edi, edi
je 0x49a744
push 0xffffffffffffffeb
push edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [esp + 0x488]
mov ebx, eax
push dword [0x5af4c4]
call fcn.004bf0bd
push 0x5adcf0
push edi
mov esi, eax
push esi
push dword [esp + 0x494]
call fcn.004a2b63
push esi
mov edi, eax
call fcn.0049a8f9
mov ecx, dword [ebx]
push 1
push ebx
call dword [ecx + 0xf0]
cmp dword [esi + 0x10], ebp
je 0x49a72d
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 0x49a72d
mov ebx, dword [sym.imp.USER32.dll_PeekMessageW]
jmp 0x49a70d
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 0x49a6f7
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esi + 0x10]
cmp dword [eax + 0x20], ebp
je 0x49a70d
mov eax, dword [esp + 0x49c]
test eax, eax
je 0x49a744
cmp word [eax], bp
je 0x49a744
push eax
push esi
call fcn.0049b1fb
pop esi
pop ebp
mov eax, edi
pop ebx
pop edi
add esp, 0x474
ret 0x1c