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

Disassembly:
sub esp, 0x474
push edi
push dword [0x101e2a20]
call fcn.1004f0c7
test byte [esp + 0x494], 1
mov edi, eax
je 0x10038038
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.10039960
jmp 0x1003832f
push ebx
push ebp
xor ebx, ebx
xor ebp, ebp
inc ebx
push esi
cmp dword [0x101e0e18], ebp
jne 0x100381d4
push ebp
mov dword [0x101e0e18], ebx
call dword [sym.imp.ole32.dll_OleInitialize]
mov esi, 0xa8
push esi
push ebp
push 0x101e0d70
call fcn.10024f30
push 0x30
mov dword [0x101e0d74], esi
lea eax, [esp + 0x38]
pop esi
push esi
push ebp
push eax
mov dword [0x101e0d70], 0x12
mov dword [0x101e0d7c], 0x100385b8
mov dword [0x101e0d84], 0x10038d80
mov dword [0x101e0d88], 0x10038a3c
mov dword [0x101e0d8c], 0x10038de1
mov dword [0x101e0db0], 0x10038813
mov dword [0x101e0db4], 0x10038cba
mov dword [0x101e0dd8], 0x10038633
mov dword [0x101e0ddc], 0x10038ad0
call fcn.10024f30
mov eax, dword [0x101df4f4]
add esp, 0x18
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x28]
mov dword [esp + 0x28], esi
mov dword [esp + 0x30], 0x10038359
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 [0x101e2a24], 0x10038437
push eax
push dword [0x101df4f4]
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 0x10038169
movzx edx, ax
cmp dx, 0x2f
je 0x1003815a
cmp dx, 0x5c
je 0x1003815a
add ecx, 2
jmp 0x1003815f
add ecx, 2
mov esi, ecx
movzx eax, word [ecx]
mov edx, eax
test ax, ax
jne 0x10038149
lea eax, [esp + 0x27c]
push esi
push eax
call fcn.1016fba6
pop ecx
pop ecx
cmp word [esp + 0x27c], bp
je 0x100381d4
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 0x100381d4
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.1004401b
push ebp
push dword [0x101df4f4]
push 0xffffffffffffffff
push dword [edi]
push dword [esp + 0x4a8]
push dword [esp + 0x4a8]
push dword [esp + 0x4a8]
push dword [esp + 0x4a8]
push 0x50000000
push 0x101a5810
push str.PureWeb
push ebp
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, eax
test edi, edi
je 0x1003832a
push 0xffffffffffffffeb
push edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [esp + 0x488]
mov ebx, eax
push dword [0x101e2a28]
call fcn.1004f73d
push 0x101e0d70
push edi
mov esi, eax
push esi
push dword [esp + 0x494]
call fcn.1003d978
push esi
mov edi, eax
call fcn.100384df
mov ecx, dword [ebx]
push 1
push ebx
call dword [ecx + 0xf0]
cmp dword [esi + 0x10], ebp
je 0x10038313
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push 8
pop eax
push 0x101a5818
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 0x10038313
mov ebx, dword [sym.imp.USER32.dll_PeekMessageW]
jmp 0x100382f3
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 0x100382dd
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esi + 0x10]
cmp dword [eax + 0x20], ebp
je 0x100382f3
mov eax, dword [esp + 0x49c]
test eax, eax
je 0x1003832a
cmp word [eax], bp
je 0x1003832a
push eax
push esi
call fcn.10038de1
pop esi
pop ebp
mov eax, edi
pop ebx
pop edi
add esp, 0x474
ret 0x1c