Function at 0x405df0
Capabilities:
Initialize iwebbrowser2
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x44414d
mov eax, dword fs:[0]
push eax
sub esp, 0x358
mov eax, dword [0x4564c4]
xor eax, esp
mov dword [esp + 0x354], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4564c4]
xor eax, esp
push eax
lea eax, [esp + 0x36c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x28], esi
xor ebx, ebx
mov dword [esp + 0x374], ebx
mov edi, dword [esp + 0x37c]
push 0x44b9af
push edi
call fcn.0042f58c
add esp, 8
cmp eax, ebx
sete al
cmp al, bl
je 0x405e67
mov byte [esp + 0x374], bl
lea eax, [edi - 0x10]
jmp 0x406522
mov ecx, dword [esi + 0x20]
push ebx
push 0xa
push 1
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
xor ebp, ebp
mov dword [esp + 0x2c], ebp
push 0x103
mov byte [esp + 0x378], 2
lea edx, [esp + 0x269]
push ebx
push edx
mov dword [esp + 0x2c], 0x104
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x270], bl
call fcn.00431520
push 0x103
lea eax, [esp + 0x171]
push ebx
push eax
call fcn.00431520
mov cx, word [0x44beb0]
mov dl, byte [0x44beb2]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
add esp, 0x18
lea eax, [esp + 0x1c]
push eax
mov word [esp + 0x164], cx
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x2001f
push ebx
push ebx
push ebx
push str.SoftwareMicrosoftInternet_ExplorerMain
push SysReAllocStringLen
mov byte [esp + 0x186], dl
mov dword [esp + 0x38], ebx
call edi
cmp eax, ebx
jne 0x405f15
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x2c], ebp
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x24]
push ecx
push ebx
push str.AllowWindowReuse
push ebp
mov dword [esp + 0x30], 4
call esi
push 4
lea edx, [esp + 0x1c]
push edx
push 4
push ebx
push str.AllowWindowReuse
push ebp
mov dword [esp + 0x30], ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp ebp, ebx
je 0x405f66
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebp, ebp
mov dword [esp + 0x2c], ebp
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x2001f
push ebx
push ebx
push ebx
push str.SoftwareMicrosoftInternet_ExplorerTabbedBrowsing
push SysReAllocStringLen
mov dword [esp + 0x38], ebx
call edi
cmp eax, ebx
jne 0x405fa0
cmp ebp, ebx
je 0x405f98
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x2c], ebp
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x24]
push ecx
push ebx
push str.ShortcutBehavior
push ebp
mov dword [esp + 0x30], 4
call esi
push 4
lea edx, [esp + 0x1c]
push edx
push 4
push ebx
push str.ShortcutBehavior
push ebp
mov dword [esp + 0x30], ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp ebp, ebx
je 0x405feb
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebp, ebp
mov dword [esp + 0x2c], ebp
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x2001f
push ebx
push ebx
push ebx
push str.SoftwareMicrosoftInternet_ExplorerNew_Windows
push SysReAllocStringLen
mov dword [esp + 0x38], ebx
call edi
cmp eax, ebx
jne 0x406025
cmp ebp, ebx
je 0x40601d
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x2c], ebp
push str.PopupMgr
lea edx, [esp + 0x30]
push edx
lea edi, [esp + 0x28]
lea esi, [esp + 0x26c]
call fcn.0040fb30
lea eax, [esp + 0x160]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
push eax
lea ecx, [esp + 0x164]
push ecx
push 1
push ebx
push str.PopupMgr
push ebp
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp ebp, ebx
je 0x406079
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebp, ebp
mov dword [esp + 0x2c], ebp
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
mov edi, dword [esp + 0x28]
add edi, 0xe4
push edi
push 0x44ae0c
push 4
push ebx
push 0x44ae2c
mov dword [esp + 0x2c], edi
mov dword [edi], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov eax, dword [edi]
mov edx, dword [eax]
push ebx
push eax
mov eax, dword [edx + 0xa4]
call eax
mov word [esp + 0x38], 3
mov dword [esp + 0x40], ebx
mov byte [esp + 0x374], 3
cmp dword [edi], ebx
jne 0x406102
lea ecx, [esp + 0x38]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp ebp, ebx
je 0x4060df
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [esp + 0x374], bl
mov eax, dword [esp + 0x37c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x40652f
mov esi, dword [esp + 0x380]
push 0x44b9af
push esi
call fcn.0042f58c
add esp, 8
cmp eax, ebx
setne al
cmp al, bl
je 0x4061f2
push 0x44b9af
lea ecx, [esp + 0x18]
call fcn.00403330
push esi
lea ecx, [esp + 0x18]
push str.Referer:__s
push ecx
mov byte [esp + 0x380], 4
call fcn.004033f0
mov edx, dword [esp + 0x20]
add esp, 0xc
push edx
lea eax, [esp + 0x50]
push eax
mov word [esp + 0x54], bx
call fcn.0040f870
mov byte [esp + 0x374], 5
mov eax, dword [esp + 0x37c]
cmp eax, ebx
je 0x406191
push eax
call fcn.0040f7d0
mov esi, eax
add esp, 4
cmp esi, ebx
mov dword [esp + 0x20], esi
jne 0x406197
push 0x8007000e
call fcn.00401520
xor esi, esi
mov dword [esp + 0x20], esi
lea edx, [esp + 0x4c]
push edx
lea edx, [esp + 0x3c]
push edx
push edx
mov byte [esp + 0x380], 6
mov eax, dword [edi]
mov ecx, dword [eax]
push edx
push esi
push eax
mov eax, dword [ecx + 0x2c]
call eax
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [esp + 0x4c]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov byte [esp + 0x374], 3
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x406244
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x406244
mov eax, dword [esp + 0x37c]
cmp eax, ebx
je 0x40621a
push eax
call fcn.0040f7d0
mov esi, eax
add esp, 4
cmp esi, ebx
mov dword [esp + 0x20], esi
jne 0x406220
push 0x8007000e
call fcn.00401520
xor esi, esi
mov dword [esp + 0x20], esi
lea edx, [esp + 0x38]
push edx
mov eax, edx
push eax
push edx
mov byte [esp + 0x380], 7
mov edi, dword [edi]
mov ecx, dword [edi]
mov ecx, dword [ecx + 0x2c]
push eax
push esi
push edi
call ecx
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esp + 0x24], ebx
push 0x103
lea edx, [esp + 0x61]
mov byte [esp + 0x378], 8
push ebx
push edx
mov dword [esp + 0x20], 0x104
mov byte [esp + 0x68], bl
call fcn.00431520
mov edx, dword [0x45a554]
add esp, 0xc
lea eax, [esp + 0x1c]
push eax
mov eax, dword [0x457a90]
lea ecx, [esp + 0x2c]
push ecx
push ebx
push 0x2001f
push ebx
push ebx
push ebx
push edx
push eax
mov dword [esp + 0x4c], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebx
jne 0x4062a5
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x24], ecx
push str.IR_1
lea edx, [esp + 0x28]
push edx
lea edi, [esp + 0x1c]
lea esi, [esp + 0x64]
call fcn.0040fb30
cmp eax, ebx
jne 0x40639a
mov eax, esi
push eax
call fcn.0042f686
add esp, 4
push str.IR_2
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], 0x104
call fcn.0040fb30
cmp eax, ebx
jne 0x40639a
mov edx, esi
push edx
call fcn.0042f686
add esp, 4
mov dword [esp + 0x28], eax
push str.IR_3
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x1c], 0x104
call fcn.0040fb30
cmp eax, ebx
jne 0x40639a
mov ecx, esi
push ecx
call fcn.0042f686
add esp, 4
push str.IR_4
lea edx, [esp + 0x28]
push edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], 0x104
call fcn.0040fb30
cmp eax, ebx
jne 0x40639a
mov eax, esi
push eax
call fcn.0042f686
add esp, 4
cmp dword [esp + 0x20], ebx
mov esi, eax
jle 0x40639a
cmp dword [esp + 0x28], ebx
jle 0x40639a
mov edi, dword [esp + 0x1c]
cmp edi, ebx
jle 0x40639a
cmp esi, ebx
jle 0x40639a
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov edx, dword [eax]
mov edx, dword [edx + 0x94]
lea ecx, [esp + 0x1c]
push ecx
push eax
call edx
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push 1
push esi
push edi
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [esp + 0x24]
cmp eax, ebx
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x4063af
push eax
call edi
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
mov ecx, dword [eax]
lea edx, [esp + 0x48]
push edx
push eax
mov eax, dword [ecx + 0x94]
call eax
mov ecx, dword [esp + 0x48]
push 3
push ebx
push ebx
push ebx
push ebx
push 1
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x1c]
push eax
push ebx
push 0x2001f
push ebx
push ebx
push ebx
push str.SoftwareMicrosoftInternet_ExplorerMain
push SysReAllocStringLen
mov dword [esp + 0x3c], ebx
call esi
cmp eax, ebx
jne 0x406410
cmp ebp, ebx
je 0x40640c
push ebp
call edi
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x34]
push 4
lea edx, [esp + 0x20]
push edx
push 4
push ebx
push str.AllowWindowReuse
push ebp
mov dword [esp + 0x34], ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp ebp, ebx
je 0x406437
push ebp
call edi
xor ebp, ebp
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
push ecx
push ebx
push 0x2001f
push ebx
push ebx
push ebx
push str.SoftwareMicrosoftInternet_ExplorerTabbedBrowsing
push SysReAllocStringLen
mov dword [esp + 0x3c], ebx
call esi
cmp eax, ebx
jne 0x406469
cmp ebp, ebx
je 0x406465
push ebp
call edi
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x30]
push 4
lea eax, [esp + 0x20]
push eax
push 4
push ebx
push str.ShortcutBehavior
push ebp
mov dword [esp + 0x34], edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp ebp, ebx
je 0x406490
push ebp
call edi
xor ebp, ebp
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push edx
push ebx
push 0x2001f
push ebx
push ebx
push ebx
push str.SoftwareMicrosoftInternet_ExplorerNew_Windows
push SysReAllocStringLen
mov dword [esp + 0x3c], ebx
call esi
cmp eax, ebx
jne 0x4064c2
cmp ebp, ebx
je 0x4064be
push ebp
call edi
mov ebp, dword [esp + 0x18]
lea eax, [esp + 0x264]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
push eax
lea ecx, [esp + 0x268]
push ecx
push 1
push ebx
push str.PopupMgr
push ebp
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp ebp, ebx
je 0x4064f4
push ebp
call edi
xor ebp, ebp
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x4064ff
push eax
call edi
lea edx, [esp + 0x38]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp ebp, ebx
je 0x406511
push ebp
call edi
mov byte [esp + 0x374], bl
mov eax, dword [esp + 0x37c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40653b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x374], 0xffffffff
mov eax, dword [esp + 0x380]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406569
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x36c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x354]
xor ecx, esp
call fcn.0042dbc0
add esp, 0x364
ret 8