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

Disassembly:
sub esp, 0x474
push edi
push dword [0x44c434]
call fcn.0040a36b
test byte [esp + 0x494], 1
mov edi, eax
je 0x403564
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.00414470
jmp 0x40385b
push ebx
push ebp
xor ebx, ebx
xor ebp, ebp
inc ebx
push esi
cmp dword [0x44c2c0], ebp
jne 0x403700
push ebp
mov dword [0x44c2c0], ebx
call dword [sym.imp.ole32.dll_OleInitialize]
mov esi, 0xa8
push esi
push ebp
push 0x44c218
call fcn.00401100
push 0x30
mov dword [0x44c21c], esi
lea eax, [esp + 0x38]
pop esi
push esi
push ebp
push eax
mov dword [0x44c218], 0x12
mov dword [0x44c224], 0x404175
mov dword [0x44c22c], 0x403983
mov dword [0x44c230], 0x4039e4
mov dword [0x44c234], 0x403a33
mov dword [0x44c258], 0x403abc
mov dword [0x44c25c], 0x403ce5
mov dword [0x44c280], 0x403dab
mov dword [0x44c284], 0x403f8b
call fcn.00401100
mov eax, dword [0x44bf78]
add esp, 0x18
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x28]
mov dword [esp + 0x28], esi
mov dword [esp + 0x30], 0x4041f0
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 [0x44c43c], 0x4042ce
push eax
push dword [0x44bf78]
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 0x403695
movzx edx, ax
cmp dx, 0x2f
je 0x403686
cmp dx, 0x5c
je 0x403686
add ecx, 2
jmp 0x40368b
add ecx, 2
mov esi, ecx
movzx eax, word [ecx]
mov edx, eax
test ax, ax
jne 0x403675
lea eax, [esp + 0x27c]
push esi
push eax
call fcn.00411bb5
pop ecx
pop ecx
cmp word [esp + 0x27c], bp
je 0x403700
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 closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x403700
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.0040d5dd
push ebp
push dword [0x44bf78]
push 0xffffffffffffffff
push dword [edi]
push dword [esp + 0x4a8]
push dword [esp + 0x4a8]
push dword [esp + 0x4a8]
push dword [esp + 0x4a8]
push 0x50000000
push 0x441890
push str.PureWeb
push ebp
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, eax
test edi, edi
je 0x403856
push 0xffffffffffffffeb
push edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [esp + 0x488]
mov ebx, eax
push dword [0x44c430]
call fcn.0040d30a
push 0x44c218
push edi
mov esi, eax
push esi
push dword [esp + 0x494]
call fcn.0040d632
push esi
mov edi, eax
call fcn.004038aa
mov ecx, dword [ebx]
push 1
push ebx
call dword [ecx + 0xf0]
cmp dword [esi + 0x10], ebp
je 0x40383f
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 0x40383f
mov ebx, dword [sym.imp.USER32.dll_PeekMessageW]
jmp 0x40381f
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 0x403809
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esi + 0x10]
cmp dword [eax + 0x20], ebp
je 0x40381f
mov eax, dword [esp + 0x49c]
test eax, eax
je 0x403856
cmp word [eax], bp
je 0x403856
push eax
push esi
call fcn.00403a33
pop esi
pop ebp
mov eax, edi
pop ebx
pop edi
add esp, 0x474
ret 0x1c