Function at 0x403980
Capabilities:
Get http document via iwebbrowser2
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x43aa55
mov eax, dword fs:[0]
push eax
sub esp, 0x4dc
mov eax, dword [0x445654]
xor eax, esp
mov dword [esp + 0x4d8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x445654]
xor eax, esp
push eax
lea eax, [esp + 0x4f0]
mov dword fs:[0], eax
mov edi, dword [esp + 0x500]
mov ebp, dword [esp + 0x504]
xor ebx, ebx
mov dword [esp + 0x3c], ecx
lea ecx, [esp + 0xb0]
mov dword [esp + 0x98], edi
mov dword [esp + 0x58], ebp
mov dword [esp + 0x48], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebx
call fcn.00403330
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [esp + 0x78]
push eax
mov dword [esp + 0x4fc], ebx
mov dword [esp + 0x1c], ebx
call esi
lea ecx, [esp + 0x68]
push ecx
call esi
lea edx, [esp + 0x88]
push edx
call esi
lea eax, [esp + 0xcc]
push eax
call esi
mov esi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push str.__CLASS
call esi
push str.WmiDataId
mov dword [esp + 0x50], eax
call esi
push str.EventType
mov dword [esp + 0x58], eax
call esi
push str.EventTypeName
mov dword [esp + 0x60], eax
call esi
push str.DisplayName
mov dword [esp + 0x44], eax
call esi
mov ecx, dword [edi]
mov ecx, dword [ecx + 0x10]
push ebx
push ebx
lea edx, [esp + 0x80]
push edx
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x58]
push ebx
push eax
push edi
call ecx
test eax, eax
jne 0x40414a
mov eax, dword [esp + 0x80]
lea edx, [esp + 0xdc]
sub edx, eax
lea ebx, [ebx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, bx
jne 0x403aa0
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x403ac3
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x14], ebx
mov ecx, dword [edi]
mov eax, dword [ecx + 0xc]
lea edx, [esp + 0x14]
push edx
push edi
call eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push ebx
lea edx, [esp + 0xd0]
push edx
mov edx, dword [esp + 0x6c]
push ebx
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
cmp eax, ebx
jne 0x403b12
mov eax, dword [esp + 0xd4]
cmp eax, ebx
je 0x403b12
lea edx, [esp + 0xdc]
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, bx
jne 0x403b03
push 0x40
call fcn.004115fa
add esp, 4
mov dword [esp + 0x34], eax
mov byte [esp + 0x4f8], 1
cmp eax, ebx
je 0x403b42
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push ebp
mov ecx, eax
call fcn.004033e0
mov edi, eax
mov dword [esp + 0x28], edi
jmp 0x403b48
mov dword [esp + 0x28], ebx
mov edi, ebx
mov byte [esp + 0x4f8], 0
mov dword [esp + 0x24], edi
cmp edi, ebx
je 0x40414a
lea ecx, [esp + 0xdc]
push ecx
mov ecx, edi
call fcn.00402fb0
mov eax, dword [esp + 0xc4]
mov ecx, dword [eax + 4]
lea ebp, [eax + 4]
lea edx, [esp + 0x24]
push edx
push ecx
push eax
lea ecx, [esp + 0xbc]
mov dword [esp + 0x3c], edi
call fcn.00402640
push 1
lea ecx, [esp + 0xb4]
mov edi, eax
call fcn.004035c0
mov dword [ebp], edi
mov eax, dword [edi + 4]
mov dword [eax], edi
mov edx, dword [esp + 0x80]
push edx
call esi
lea edx, [esp + 0x48]
push edx
mov esi, eax
mov eax, dword [esp + 0x40]
mov eax, dword [eax]
mov ecx, dword [eax]
push ebx
push 0x20001
push esi
push eax
mov eax, dword [ecx + 0x30]
call eax
push esi
mov edi, eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp edi, ebx
jne 0x40414a
mov dword [esp + 0x34], 1
mov eax, dword [esp + 0x48]
lea edx, [esp + 0x34]
push edx
lea edx, [esp + 0x20]
push edx
push 1
mov dword [esp + 0x28], ebx
mov ecx, dword [eax]
push 0x1388
push eax
mov eax, dword [ecx + 0x10]
call eax
test eax, eax
je 0x403c1e
mov eax, dword [esp + 0x98]
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
mov dword [esp + 0x20], eax
call edx
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x403c32
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
lea ecx, [esp + 0x68]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
push ebx
lea ecx, [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0x64]
push ebx
push ecx
push eax
call edx
test eax, eax
jne 0x403e70
mov esi, 0x2000
xor ebp, ebp
test dword [esp + 0x68], esi
je 0x403fba
mov ebx, dword [esp + 0x70]
lea eax, [esp + 0x88]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push ebp
lea edx, [esp + 0x8c]
push edx
mov edx, dword [esp + 0x48]
push ebp
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jne 0x403cc0
test dword [esp + 0x88], esi
je 0x403cc0
mov ebp, dword [esp + 0x90]
test ebx, ebx
je 0x40414a
lea ecx, [esp + 0xac]
push ecx
push 1
push ebx
call dword [sym.imp.OLEAUT32.dll_SafeArrayLock]
test eax, eax
jne 0x40414a
mov esi, dword [sym.imp.OLEAUT32.dll_SafeArrayGetLBound]
lea edx, [esp + 0x38]
push edx
push 1
push ebx
call esi
test eax, eax
jne 0x40414a
cmp dword [esp + 0x38], eax
jl 0x40414a
mov edi, dword [sym.imp.OLEAUT32.dll_SafeArrayUnaccessData]
lea eax, [esp + 0xa4]
push eax
push ebx
call edi
test ebp, ebp
je 0x403d58
lea ecx, [esp + 0x9c]
push ecx
push 1
push ebp
call dword [sym.imp.OLEAUT32.dll_SafeArrayLock]
test eax, eax
jne 0x40414a
lea edx, [esp + 0x60]
push edx
push 1
push ebp
call esi
test eax, eax
jne 0x40414a
cmp dword [esp + 0x60], eax
jl 0x40414a
lea eax, [esp + 0xa0]
push eax
push ebp
call edi
mov eax, dword [esp + 0xac]
cmp eax, dword [esp + 0x38]
mov dword [esp + 0x20], eax
jg 0x403e39
mov ecx, dword [esp + 0xa4]
mov edi, dword [ecx + eax*4]
push 0x40
call fcn.004115fa
add esp, 4
mov dword [esp + 0x24], eax
mov byte [esp + 0x4f8], 2
test eax, eax
je 0x403db2
mov edx, dword [esp + 0x50c]
mov ecx, dword [esp + 0x508]
push edx
mov edx, dword [esp + 0x5c]
push ecx
push edi
push edx
mov ecx, eax
call fcn.004033e0
mov esi, eax
jmp 0x403db4
xor esi, esi
mov byte [esp + 0x4f8], 0
mov dword [esp + 0x24], esi
test esi, esi
je 0x403e26
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0xb4]
call fcn.00403720
mov ecx, dword [esp + 0x28]
call fcn.00402000
test eax, eax
je 0x403dee
mov ecx, dword [esp + 0x28]
push ecx
mov ecx, esi
call fcn.00402ec0
cmp word [esp + 0x510], di
jne 0x403dfc
mov dword [esp + 0x30], esi
test ebp, ebp
je 0x403e26
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x9c]
jl 0x403e2a
cmp eax, dword [esp + 0x60]
jg 0x403e2a
mov edx, dword [esp + 0xa0]
mov eax, dword [edx + eax*4]
push eax
lea ecx, [esi + 0x34]
call fcn.00402fb0
mov eax, dword [esp + 0x20]
inc eax
cmp eax, dword [esp + 0x38]
mov dword [esp + 0x20], eax
jle 0x403d6d
mov esi, dword [sym.imp.OLEAUT32.dll_SafeArrayGetElement]
push ebx
call esi
mov edi, dword [sym.imp.OLEAUT32.dll_SafeArrayGetDim]
push ebx
call edi
lea ecx, [esp + 0x68]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
test ebp, ebp
je 0x403e6e
push ebp
call esi
push ebp
call edi
lea edx, [esp + 0x88]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
xor ebx, ebx
lea edx, [esp + 0x78]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ebp, dword [esp + 0x54]
lea edx, [esp + 0x18]
push edx
lea edx, [esp + 0x7c]
push edx
mov eax, 3
mov word [esp + 0x80], ax
mov eax, dword [esp + 0x24]
push 3
mov edi, 1
mov dword [esp + 0x8c], edi
mov dword [esp + 0x24], ebx
mov ecx, dword [eax]
push ebp
push eax
mov eax, dword [ecx + 0x1c]
call eax
test eax, eax
jne 0x40412e
lea ecx, [ecx]
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0xa8]
push ecx
push 1
push edx
call dword [sym.imp.OLEAUT32.dll_SafeArrayLock]
test eax, eax
jne 0x40412e
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x44]
push eax
push 1
push ecx
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetLBound]
test eax, eax
jne 0x40412e
mov ecx, dword [esp + 0x44]
cmp ecx, ebx
jl 0x40412e
mov eax, dword [esp + 0xa8]
cmp eax, ecx
mov dword [esp + 0x20], eax
jg 0x4040f6
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x24]
push eax
push ecx
call dword [sym.imp.OLEAUT32.dll_SafeArrayPutElement]
test eax, eax
jne 0x4040f6
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
push ebx
lea ecx, [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x34]
push ebx
push ebx
push ecx
push eax
call edx
test eax, eax
jne 0x4040f6
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x403f68
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x30]
push edx
push eax
mov eax, dword [ecx + 0x2c]
call eax
test eax, eax
jne 0x4040f6
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x50]
push ecx
push edx
call fcn.004014c0
add esp, 8
test dword [esp + 0x50], 0x2000
mov esi, eax
je 0x4040c7
mov eax, dword [esp + 0x14]
push eax
call fcn.00401450
add esp, 4
jmp 0x4040cc
push 2
push ebx
lea eax, [esp + 0x70]
push eax
mov ecx, eax
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
movzx edi, word [esp + 0x70]
lea edx, [esp + 0x88]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push ebx
lea edx, [esp + 0x8c]
push edx
mov edx, dword [esp + 0x48]
push ebx
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
cmp eax, ebx
jne 0x404021
mov eax, dword [esp + 0x90]
lea edx, [esp + 0x2e4]
sub edx, eax
lea ecx, [ecx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, bx
jne 0x404010
jmp 0x40402b
xor ecx, ecx
mov word [esp + 0x2e4], cx
push 0x40
call fcn.004115fa
add esp, 4
mov dword [esp + 0x24], eax
mov byte [esp + 0x4f8], 3
cmp eax, ebx
je 0x404066
mov edx, dword [esp + 0x50c]
mov ecx, dword [esp + 0x508]
push edx
mov edx, dword [esp + 0x5c]
push ecx
push edi
push edx
mov ecx, eax
call fcn.004033e0
mov esi, eax
jmp 0x404068
xor esi, esi
mov byte [esp + 0x4f8], 0
mov dword [esp + 0x24], esi
cmp esi, ebx
je 0x403e70
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0xb4]
call fcn.00403720
mov ebp, dword [esp + 0x28]
mov ecx, ebp
call fcn.00402000
test eax, eax
je 0x4040a4
push ebp
mov ecx, esi
call fcn.00402ec0
cmp word [esp + 0x510], di
jne 0x4040b2
mov dword [esp + 0x30], esi
lea ecx, [esp + 0x2e4]
push ecx
lea ecx, [esi + 0x34]
call fcn.00402fb0
jmp 0x403e70
mov eax, 1
mov ecx, dword [esp + 0x2c]
push eax
push esi
push ecx
lea edx, [esp + 0xbc]
push edx
call fcn.00403760
mov eax, dword [esp + 0x30]
inc eax
add esp, 0x10
cmp eax, dword [esp + 0x44]
mov dword [esp + 0x20], eax
jle 0x403f16
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetDim]
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x18]
push edx
lea edx, [esp + 0x7c]
push edx
push 3
inc edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x8c], edi
mov ecx, dword [eax]
push ebp
push eax
mov eax, dword [ecx + 0x1c]
call eax
test eax, eax
je 0x403ec0
lea ecx, [esp + 0xb0]
push ecx
mov ecx, dword [esp + 0x40]
call fcn.00403890
cmp dword [esp + 0x34], 1
je 0x403be6
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea edx, [esp + 0x78]
push edx
call esi
lea eax, [esp + 0x68]
push eax
call esi
lea ecx, [esp + 0xcc]
push ecx
call esi
mov edx, dword [esp + 0x4c]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push edx
call esi
mov eax, dword [esp + 0x54]
push eax
call esi
mov ecx, dword [esp + 0x5c]
push ecx
call esi
mov edx, dword [esp + 0x40]
push edx
call esi
mov eax, dword [esp + 0x64]
push eax
call esi
lea ecx, [esp + 0xb0]
push ecx
mov ecx, dword [esp + 0x40]
call fcn.00403890
lea ecx, [esp + 0xb0]
call fcn.00402480
mov edx, dword [esp + 0xb0]
push edx
call fcn.004114fa
mov eax, dword [esp + 0x34]
add esp, 4
mov ecx, dword [esp + 0x4f0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4d8]
xor ecx, esp
call fcn.00411a73
add esp, 0x4e8
ret 0x14