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

Disassembly:
sub esp, 0x474
push edi
push dword [0x5be040]
call fcn.0046b017
test byte [esp + 0x494], 1
mov edi, eax
je 0x4552a3
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.0045b9b0
jmp 0x45559a
push ebx
push ebp
xor ebx, ebx
xor ebp, ebp
inc ebx
push esi
cmp dword [0x5bcfb0], ebp
jne 0x45543f
push ebp
mov dword [0x5bcfb0], ebx
call dword [sym.imp.ole32.dll_OleInitialize]
mov esi, 0xa8
push esi
push ebp
push 0x5bcf08
call fcn.00421520
push 0x30
mov dword [0x5bcf0c], esi
lea eax, [esp + 0x38]
pop esi
push esi
push ebp
push eax
mov dword [0x5bcf08], 0x12
mov dword [0x5bcf14], 0x455823
mov dword [0x5bcf1c], 0x455feb
mov dword [0x5bcf20], 0x455ca7
mov dword [0x5bcf24], 0x45604c
mov dword [0x5bcf48], 0x455a7e
mov dword [0x5bcf4c], 0x455f25
mov dword [0x5bcf70], 0x45589e
mov dword [0x5bcf74], 0x455d3b
call fcn.00421520
mov eax, dword [0x5bb8a4]
add esp, 0x18
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x28]
mov dword [esp + 0x28], esi
mov dword [esp + 0x30], 0x4555c4
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 [0x5be044], 0x4556a2
push eax
push dword [0x5bb8a4]
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 0x4553d4
movzx edx, ax
cmp dx, 0x2f
je 0x4553c5
cmp dx, 0x5c
je 0x4553c5
add ecx, 2
jmp 0x4553ca
add ecx, 2
mov esi, ecx
movzx eax, word [ecx]
mov edx, eax
test ax, ax
jne 0x4553b4
lea eax, [esp + 0x27c]
push esi
push eax
call fcn.00533b96
pop ecx
pop ecx
cmp word [esp + 0x27c], bp
je 0x45543f
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 0x45543f
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.00462dcf
push ebp
push dword [0x5bb8a4]
push 0xffffffffffffffff
push dword [edi]
push dword [esp + 0x4a8]
push dword [esp + 0x4a8]
push dword [esp + 0x4a8]
push dword [esp + 0x4a8]
push 0x50000000
push 0x577d60
push str.PureWeb
push ebp
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, eax
test edi, edi
je 0x455595
push 0xffffffffffffffeb
push edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [esp + 0x488]
mov ebx, eax
push dword [0x5be048]
call fcn.0046b68d
push 0x5bcf08
push edi
mov esi, eax
push esi
push dword [esp + 0x494]
call fcn.0045f8ea
push esi
mov edi, eax
call fcn.0045574a
mov ecx, dword [ebx]
push 1
push ebx
call dword [ecx + 0xf0]
cmp dword [esi + 0x10], ebp
je 0x45557e
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push 8
pop eax
push 0x577d68
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 0x45557e
mov ebx, dword [sym.imp.USER32.dll_PeekMessageW]
jmp 0x45555e
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 0x455548
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esi + 0x10]
cmp dword [eax + 0x20], ebp
je 0x45555e
mov eax, dword [esp + 0x49c]
test eax, eax
je 0x455595
cmp word [eax], bp
je 0x455595
push eax
push esi
call fcn.0045604c
pop esi
pop ebp
mov eax, edi
pop ebx
pop edi
add esp, 0x474
ret 0x1c