Function at 0x402333
Capabilities:
Create process on windows
Get http document via iwebbrowser2
Resolve function by parsing pe exports
Resume thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x40c712
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x411e38]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push esi
push edi
mov eax, dword [0x411e38]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, ecx
mov ecx, dword [ebp + 0xc]
push ecx
mov dword [esp + 0x54], ecx
push eax
mov ecx, esi
call dword [sym.imp.mfc100u.dll_CDHtmlDialog::OnDocumentComplete]
xor ebx, ebx
mov dword [esp + 0x18], ebx
lea ecx, [esi + 0x94]
lea edx, [esp + 0x18]
mov dword [esp + 0x98], ebx
mov eax, dword [ecx]
push edx
call dword [eax + 0x24]
mov edi, dword [esp + 0x18]
mov dword [esp + 0x30], edi
cmp edi, ebx
je 0x4023b5
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov byte [esp + 0x98], 1
mov dword [esp + 0x20], ebx
cmp edi, ebx
je 0x4023d4
mov eax, dword [edi]
lea ecx, [esp + 0x20]
push ecx
push 0x40e720
push edi
call dword [eax]
mov byte [esp + 0x98], 2
cmp dword [esp + 0x20], ebx
jne 0x4023fd
mov byte [esp + 0x98], 0
cmp edi, ebx
je 0x402a56
mov eax, dword [edi]
push edi
call dword [eax + 8]
jmp 0x402a56
cmp byte [esi + 0x1a4], 0
jne 0x402510
push esi
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
call fcn.00402cb0
lea eax, [esp + 0x14]
push eax
push esi
lea edi, [esp + 0x44]
call fcn.00402141
test al, al
je 0x4024e4
lea eax, [esp + 0x74]
push eax
push dword [esi + 0x20]
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x78]
sub eax, edx
cmp eax, ebx
jle 0x4024e4
mov ecx, dword [esp + 0x40]
cmp eax, ecx
jle 0x402478
add edx, ecx
mov dword [esp + 0x80], edx
mov eax, dword [esp + 0x3c]
inc eax
mov dword [esp + 0x48], eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x4c]
push eax
add ecx, 3
push esi
lea edi, [esp + 0x48]
lea eax, [esi + 0x170]
mov dword [esp + 0x58], ecx
call fcn.00403b14
cmp byte [esi + 0x188], 0
je 0x4024e2
cmp dword [esi + 0x184], 0
jne 0x4024e2
mov ecx, dword [esi + 0x18c]
push 0
push 0x80000
push 0x40000
call dword [sym.imp.mfc100u.dll_CWnd::ModifyStyleEx]
push dword [esi + 0x178]
mov dword [esi + 0x184], 2
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor ebx, ebx
cmp byte [esi + 0x1a4], 0
mov edi, dword [esp + 0x30]
jne 0x402510
mov byte [esp + 0x98], 1
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x4023e2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4023e2
push 0x3ea
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_KillTimer]
cmp byte [esi + 0x16c], 0
jne 0x402865
lea ebx, [esp + 0x64]
call fcn.004015f9
mov byte [esp + 0x98], 3
mov ecx, dword [esp + 0x68]
mov eax, dword [ecx]
push 0x5000080
call dword [eax + 0x100]
test eax, eax
jle 0x40284e
and dword [esp + 0x38], 0
mov byte [esp + 0x98], 4
mov edi, dword [esp + 0x20]
push 0x40e400
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ebx, eax
mov dword [esp + 0x14], ebx
test ebx, ebx
jne 0x402585
push 0x8007000e
call fcn.00403a04
lea ecx, [esp + 0x38]
push ecx
push ebx
mov byte [esp + 0xa0], 5
mov eax, dword [edi]
push edi
call dword [eax + 0xbc]
push ebx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x38]
test eax, eax
je 0x40283c
and dword [esp + 0x3c], 0
lea edx, [esp + 0x3c]
push edx
mov byte [esp + 0x9c], 6
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
mov eax, dword [esp + 0x3c]
and dword [esp + 0x2c], 0
test eax, eax
je 0x4025e3
mov ecx, dword [eax]
lea edx, [esp + 0x2c]
push edx
push 0x40e778
push eax
call dword [ecx]
mov byte [esp + 0x98], 7
cmp dword [esp + 0x2c], 0
je 0x40280c
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [esp + 0x74]
push eax
call ebx
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
push 0
lea edx, [esp + 0x78]
push edx
push 1
push eax
call dword [ecx + 0xc]
mov edi, dword [esp + 0x7c]
jmp 0x402787
and dword [esp + 0x28], 0
test edi, edi
je 0x402637
mov eax, dword [edi]
lea ecx, [esp + 0x28]
push ecx
push 0x40e730
push edi
call dword [eax]
mov byte [esp + 0x98], 8
mov eax, dword [edi]
push edi
call dword [eax + 8]
cmp dword [esp + 0x28], 0
je 0x402753
lea eax, [esp + 0x54]
push eax
call ebx
mov byte [esp + 0x98], 9
mov edi, dword [esp + 0x28]
push 0x40e404
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esp + 0x34], eax
test eax, eax
je 0x40257b
lea edx, [esp + 0x54]
push edx
push 0
push eax
mov byte [esp + 0xa4], 0xa
mov ecx, dword [edi]
push edi
call dword [ecx + 0x20]
mov byte [esp + 0x98], 9
push dword [esp + 0x34]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push dword [esp + 0x5c]
lea ecx, [esp + 0x4c]
call dword [0x40d3dc]
lea ecx, [esp + 0x44]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push str..configure.
lea ecx, [esp + 0x18]
mov byte [esp + 0x9c], 0xc
call dword [0x40d3dc]
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x18]
lea edi, [esp + 0x4c]
mov byte [esp + 0x9c], 0xd
call fcn.004022bb
lea ecx, [esp + 0x14]
mov byte [esp + 0x13], al
mov byte [esp + 0x98], 0xc
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
cmp byte [esp + 0x13], 0
je 0x40272c
mov eax, dword [esp + 0x28]
and dword [esp + 0x34], 0
test eax, eax
je 0x402724
mov ecx, dword [eax]
lea edx, [esp + 0x34]
push edx
push 0x40e740
push eax
call dword [ecx]
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x402791
lea ecx, [esp + 0x44]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
lea ecx, [esp + 0x48]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
lea eax, [esp + 0x54]
push eax
mov byte [esp + 0x9c], 8
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [esp + 0x74]
push eax
call ebx
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
push 0
lea edx, [esp + 0x78]
push edx
push 1
push eax
call dword [ecx + 0xc]
mov edi, dword [esp + 0x7c]
mov byte [esp + 0x98], 7
mov eax, dword [esp + 0x28]
test eax, eax
je 0x402787
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test edi, edi
jne 0x40261f
jmp 0x40280c
and dword [esp + 0x14], 0
lea edx, [esp + 0x14]
push edx
push 1
mov byte [esp + 0xa0], 0xf
mov ecx, dword [eax]
push eax
call dword [ecx + 0x40]
mov byte [esp + 0x98], 0xe
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4027c1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [esp + 0x98], 0xc
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4027d7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esp + 0x44]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
lea ecx, [esp + 0x48]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov byte [esp + 0x98], 7
mov eax, dword [esp + 0x28]
test eax, eax
je 0x40280c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [esp + 0x98], 6
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x402822
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [esp + 0x98], 4
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x402838
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x38]
mov byte [esp + 0x98], 3
test eax, eax
je 0x40284e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esp + 0x64]
mov byte [esp + 0x98], 2
call fcn.0040167e
mov edi, dword [esp + 0x30]
xor ebx, ebx
push dword [esp + 0x50]
lea ecx, [esp + 0x28]
call dword [0x40d3dc]
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push ebx
push str.res:__
lea ecx, [esp + 0x2c]
mov byte [esp + 0xa0], 0x11
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Find]
test eax, eax
jle 0x4028b2
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
jmp 0x4024f1
push str..remind_later.
lea ecx, [esp + 0x18]
call dword [0x40d3dc]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
lea edi, [esp + 0x28]
mov byte [esp + 0x9c], 0x12
call fcn.004022bb
lea ecx, [esp + 0x14]
mov byte [esp + 0x13], al
mov byte [esp + 0x98], 0x11
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
cmp byte [esp + 0x13], 0
je 0x402908
lea eax, [esi + 0x170]
call fcn.00403c24
jmp 0x402a16
push str..dismiss.msg_
lea ecx, [esp + 0x18]
call dword [0x40d3dc]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
lea edi, [esp + 0x28]
mov byte [esp + 0x9c], 0x13
call fcn.004022bb
lea ecx, [esp + 0x14]
mov byte [esp + 0x13], al
mov byte [esp + 0x98], 0x11
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
cmp byte [esp + 0x13], 0
je 0x40297d
cmp byte [esi + 0x16c], 0
jne 0x402a16
mov eax, dword [esi + 0x1a8]
push dword [esp + 0x1c]
mov edi, dword [eax]
call dword [sym.imp.MSVCR100.dll__wtoi]
pop ecx
mov ecx, dword [esi + 0x1a8]
push eax
call dword [edi + 0x34]
jmp 0x402a16
push str..configure.
lea ecx, [esp + 0x18]
call dword [0x40d3dc]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
lea edi, [esp + 0x28]
mov byte [esp + 0x9c], 0x14
call fcn.004022bb
lea ecx, [esp + 0x14]
mov byte [esp + 0x13], al
mov byte [esp + 0x98], 0x11
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
cmp byte [esp + 0x13], 0
je 0x402a16
mov ecx, dword [esi + 0x1a8]
mov eax, dword [ecx]
lea edx, [esp + 0x14]
push edx
call dword [eax + 0x30]
mov byte [esp + 0x98], 0x15
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], ebx
je 0x402a0e
push 3
push ebx
push ebx
push eax
push 0x40e340
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push ebx
call dword [sym.imp.MSVCR100.dll__time64]
pop ecx
mov ecx, dword [esi + 0x1a8]
mov esi, dword [ecx]
push edx
push eax
call dword [esi + 0x28]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.00403a20
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
mov byte [esp + 0x98], 1
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x402a40
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [esp + 0x98], 0
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x402a56
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [esp + 0x98], 0xffffffff
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x402a6c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.0040b682
mov esp, ebp
pop ebp
ret 8