Function at 0x10067bf0
Capabilities:
Check os version
Get http document via iwebbrowser2
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x100b62b3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2a0
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx]
push edi
push ebx
call dword [eax + 0x10]
mov esi, dword [esp + 0x2c0]
lea ecx, [esp + 0x34]
lea edx, [esp + 0x20]
push ecx
xor ebp, ebp
push edx
push esi
mov ecx, ebx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x40], ebp
call fcn.10068cc0
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esi + 0x14]
lea eax, [esp + 0x2c]
push eax
push str.CommandTimeout
push ecx
mov dword [esp + 0x2c4], ebp
call fcn.1003f320
mov eax, dword [esp + 0x38]
add esp, 0xc
or edi, 0xffffffff
cmp dword [eax - 8], ebp
jne 0x10067c78
mov eax, edi
jmp 0x10067c82
push eax
call dword [sym.imp.MSVCRT.dll_atol]
add esp, 4
mov dword [ebx + 0x140], eax
mov eax, dword [esi]
mov ecx, 5
cmp eax, ecx
je 0x10067ea1
cmp eax, 8
je 0x10067e99
cmp dword [ebx + 0x114], ebp
je 0x10067e99
cmp eax, 3
je 0x10067cd2
cmp eax, ebp
je 0x10067cd2
cmp eax, 2
je 0x10067cd2
cmp eax, 4
je 0x10067cd2
cmp eax, 7
je 0x10067cd2
cmp eax, 9
je 0x10067cd2
cmp eax, 0xb
jne 0x10067e99
mov edx, dword [esi + 8]
cmp edx, ebp
je 0x10067e99
cmp word [edx], bp
je 0x10067e99
add eax, 0xfffffffc
cmp eax, 7
ja case.0x10067cf2.5
jmp dword [eax*4 + 0x10068c60]
mov eax, dword [esi + 0xc]
cmp eax, ebp
je 0x10067d05
cmp word [eax], bp
jne 0x10067d11
mov ecx, dword [esi + 0x10]
cmp ecx, ebp
je 0x10067d15
cmp word [ecx], bp
je 0x10067d15
xor ecx, ecx
jmp 0x10067d1a
mov ecx, 1
push ecx
mov ecx, dword [esi + 0x10]
push ecx
push eax
push edx
mov edx, dword [esp + 0x30]
push edx
push 1
call fcn.1003e9f0
jmp 0x10067dd2
mov eax, dword [esi + 0xc]
cmp eax, ebp
je 0x10067d3e
cmp word [eax], bp
jne 0x10067d4a
mov ecx, dword [esi + 0x10]
cmp ecx, ebp
je 0x10067d4e
cmp word [ecx], bp
je 0x10067d4e
xor ecx, ecx
jmp 0x10067d53
mov ecx, 1
push ecx
mov ecx, dword [esi + 0x10]
push ecx
push eax
push edx
mov edx, dword [esp + 0x30]
push edx
push 1
call fcn.1003eae0
jmp 0x10067dd2
mov eax, dword [esi + 0xc]
cmp eax, ebp
je 0x10067d74
cmp word [eax], bp
jne 0x10067d80
mov ecx, dword [esi + 0x10]
cmp ecx, ebp
je 0x10067d84
cmp word [ecx], bp
je 0x10067d84
xor ecx, ecx
jmp 0x10067d89
mov ecx, 1
push ecx
mov ecx, dword [esi + 0x10]
push ecx
push eax
push edx
mov edx, dword [esp + 0x30]
push edx
push 1
call fcn.1003ebd0
jmp 0x10067dd2
mov eax, dword [esi + 0xc]
cmp eax, ebp
je 0x10067daa
cmp word [eax], bp
jne 0x10067db6
mov ecx, dword [esi + 0x10]
cmp ecx, ebp
je 0x10067dba
cmp word [ecx], bp
je 0x10067dba
xor ecx, ecx
jmp 0x10067dbf
mov ecx, 1
push ecx
mov ecx, dword [esi + 0x10]
push ecx
push eax
push edx
mov edx, dword [esp + 0x30]
push edx
push 1
call fcn.1003ecc0
add esp, 0x18
mov ecx, 0x100f0818
mov edi, eax
call fcn.100882b0
test eax, eax
je 0x10067e3f
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
push edi
push ebx
lea eax, [esp + 0x18]
push str._CMdConnect::DoConnect__p__:__S_n
push eax
mov byte [esp + 0x2c8], 1
call sub.MFC42.DLL_CString::Format
mov ebp, dword [esp + 0x20]
add esp, 0x10
mov ecx, 0x100f0818
push str._r_n_r_n
push str.__COM_r_n
call fcn.100882e0
push eax
push ebp
mov ecx, 0x100f0818
call fcn.10088520
lea ecx, [esp + 0x10]
mov byte [esp + 0x2b8], 0
call fcn.100ae920
lea ecx, [esp + 0x28]
lea edx, [esp + 0x24]
lea ebp, [ebx + 0x70]
push ecx
push edx
lea eax, [ebx + 0x6c]
push ebp
push eax
push edi
call fcn.1003e470
mov ecx, dword [esp + 0x2dc]
add esp, 0x14
push edi
mov dword [ecx], eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov edx, dword [esp + 0x2c8]
cmp dword [edx], 0
jge 0x100687bb
mov eax, edx
mov dword [eax], 0x80004005
jmp 0x10068a3f
mov ecx, dword [esp + 0x2c8]
mov dword [ecx], 0x80004005
jmp 0x10068c32
cmp eax, ecx
jne 0x10067f98
mov ecx, 0x100f0818
call fcn.100882b0
test eax, eax
je 0x10067f37
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
mov eax, dword [esi]
mov byte [esp + 0x2b8], 2
cmp eax, 5
je 0x10067ed5
cmp eax, 1
je 0x10067ed5
cmp eax, 8
jne 0x10067ee9
mov ecx, dword [esi + 4]
lea eax, [esi + 4]
cmp ecx, ebp
je 0x10067ee4
cmp word [ecx], bp
jne 0x10067eec
lea eax, [esi + 8]
jmp 0x10067eec
lea eax, [esi + 4]
mov edx, dword [eax]
lea eax, [esp + 0x10]
push edx
push ebx
push str._CMdConnect::DoConnect__p__:__S_n
push eax
call sub.MFC42.DLL_CString::Format
mov edi, dword [esp + 0x20]
add esp, 0x10
mov ecx, 0x100f0818
push str._r_n_r_n
push str.__COM_r_n
call fcn.100882e0
push eax
push edi
mov ecx, 0x100f0818
call fcn.10088520
lea ecx, [esp + 0x10]
mov byte [esp + 0x2b8], 0
call fcn.100ae920
mov eax, dword [esi]
cmp eax, 5
je 0x10067f48
cmp eax, 1
je 0x10067f48
cmp eax, 8
jne 0x10067f5c
mov ecx, dword [esi + 4]
lea eax, [esi + 4]
cmp ecx, ebp
je 0x10067f57
cmp word [ecx], bp
jne 0x10067f5f
lea eax, [esi + 8]
jmp 0x10067f5f
lea eax, [esi + 4]
lea ecx, [esp + 0x28]
lea edx, [esp + 0x24]
lea ebp, [ebx + 0x70]
push ecx
push edx
mov edx, dword [eax]
lea ecx, [ebx + 0x6c]
push ebp
push ecx
push edx
call fcn.1003e7c0
mov ecx, dword [esp + 0x2dc]
add esp, 0x14
test eax, eax
mov dword [ecx], eax
jge 0x100687bb
mov dword [ecx], 0x80004005
jmp 0x10068a3f
cmp eax, 8
jne 0x1006809a
mov ecx, 0x100f0818
call fcn.100882b0
test eax, eax
je 0x10068037
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
mov eax, dword [esi]
mov byte [esp + 0x2b8], 3
cmp eax, 5
je 0x10067fd5
cmp eax, 1
je 0x10067fd5
cmp eax, 8
jne 0x10067fe9
mov ecx, dword [esi + 4]
lea eax, [esi + 4]
cmp ecx, ebp
je 0x10067fe4
cmp word [ecx], bp
jne 0x10067fec
lea eax, [esi + 8]
jmp 0x10067fec
lea eax, [esi + 4]
mov eax, dword [eax]
lea ecx, [esp + 0x10]
push eax
push ebx
push str._CMdConnect::DoConnect__p__:__S_n
push ecx
call sub.MFC42.DLL_CString::Format
mov edi, dword [esp + 0x20]
add esp, 0x10
mov ecx, 0x100f0818
push str._r_n_r_n
push str.__COM_r_n
call fcn.100882e0
push eax
push edi
mov ecx, 0x100f0818
call fcn.10088520
lea ecx, [esp + 0x10]
mov byte [esp + 0x2b8], 0
call fcn.100ae920
mov eax, dword [esi]
cmp eax, 5
je 0x10068048
cmp eax, 1
je 0x10068048
cmp eax, 8
jne 0x1006805c
mov ecx, dword [esi + 4]
lea eax, [esi + 4]
cmp ecx, ebp
je 0x10068057
cmp word [ecx], bp
jne 0x1006805f
lea eax, [esi + 8]
jmp 0x1006805f
lea eax, [esi + 4]
mov eax, dword [eax]
lea edx, [esp + 0x28]
lea ecx, [esp + 0x24]
lea ebp, [ebx + 0x70]
push edx
push ecx
lea edx, [ebx + 0x6c]
push ebp
push edx
push eax
call fcn.1003e470
mov ecx, dword [esp + 0x2dc]
add esp, 0x14
test eax, eax
mov dword [ecx], eax
jge 0x100687bb
mov edx, ecx
mov dword [edx], 0x80004005
jmp 0x10068a3f
add eax, 0xfffffffc
cmp eax, 7
ja case.0x100680a6.5
jmp dword [eax*4 + 0x10068c80]
mov dword [esp + 0x1c], 0x100c9808
jmp 0x100680d3
mov dword [esp + 0x1c], 0x100c9818
jmp 0x100680d3
mov dword [esp + 0x1c], 0x100c9828
jmp 0x100680d3
mov dword [esp + 0x1c], 0x100c9838
push 0x138
mov dword [esp + 0x1c], ecx
call sub.MFC42.DLL_operatornew
mov ebp, eax
add esp, 4
mov dword [esp + 0x30], ebp
mov dword [esp + 0x14], 6
lea eax, [ebp + 4]
mov dword [esp + 0x10], eax
mov esi, dword [esp + 0x10]
lea ecx, [esi + 0x20]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [esp + 0x14]
mov dword [esi], 0
lea edi, [esi + 8]
mov ecx, 6
mov esi, 0x100c9d28
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x10]
add ecx, 0x34
dec eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
jne 0x100680f9
mov ecx, dword [esp + 0x2c0]
mov dword [ebp], 0x40
mov word [ebp + 0x24], 2
mov word [ebp + 0x2c], 4
mov eax, dword [ecx]
add eax, 0xfffffffc
cmp eax, 7
ja case.0x10068156.5
jmp dword [eax*4 + 0x10068ca0]
mov eax, 8
mov dword [ebp + 0x34], 0x3b
mov word [ebp + 0x58], ax
mov edx, dword [esp + 0x20]
mov dword [ebp + 0x60], edx
mov dword [ebp + 0xd0], 0xe9
mov word [ebp + 0xf4], ax
mov edx, dword [ecx + 8]
mov dword [ebp + 0xfc], edx
jmp 0x10068195
mov eax, 8
mov dword [ebp + 0x68], 0xc
mov word [ebp + 0x8c], ax
mov edx, dword [ecx + 0xc]
mov dword [ebp + 0x9c], 9
mov dword [ebp + 0x94], edx
mov word [ebp + 0xc0], ax
mov eax, dword [ecx + 0x10]
mov dword [ebp + 0xc8], eax
mov eax, dword [ebx + 0x138]
test eax, eax
jle 0x10068213
mov dword [ebp + 0x104], 0xba
lea edi, [ebp + 0x110]
mov ecx, 6
mov esi, 0x100c9d28
mov dword [ebp + 0x108], 1
mov dword [esp + 0x18], 6
rep movsd dword es:[edi], dword [esi]
mov word [ebp + 0x128], 3
mov ecx, dword [ebx + 0x138]
mov dword [ebp + 0x130], ecx
xor edx, edx
mov ecx, 6
mov esi, 0x100c9d28
lea edi, [esp + 0x80]
mov dword [esp + 0x74], 0x100d
mov dword [esp + 0x78], edx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x2c4]
mov eax, 3
mov dword [esp + 0xa0], ecx
mov ebp, 1
mov ecx, 6
mov esi, 0x100c9d28
lea edi, [esp + 0xb4]
mov word [esp + 0x98], ax
mov dword [esp + 0xa8], 0x1009
mov dword [esp + 0xac], ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x120]
mov esi, 0x100c9d28
mov dword [esp + 0xd4], ecx
mov ecx, 6
lea edi, [esp + 0xe8]
mov word [esp + 0xcc], ax
mov dword [esp + 0xdc], 0x1019
mov dword [esp + 0xe0], ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x11c]
mov esi, 0x100c9d28
mov dword [esp + 0x108], ecx
mov ecx, 6
lea edi, [esp + 0x11c]
mov word [esp + 0x100], ax
mov dword [esp + 0x110], 0x1014
mov dword [esp + 0x114], ebp
rep movsd dword es:[edi], dword [esi]
mov word [esp + 0x134], ax
mov eax, dword [ebx + 0x134]
mov dword [esp + 0x13c], eax
mov eax, dword [ebx + 0x124]
cmp eax, edx
mov ebp, 4
mov dword [esp + 0x14], edx
mov dword [esp + 0x38], edx
jl 0x1006836d
mov ecx, 6
mov esi, 0x100c9d28
lea edi, [esp + 0x150]
mov dword [esp + 0x144], 0x100f
mov dword [esp + 0x148], edx
mov eax, str.TRUE
rep movsd dword es:[edi], dword [esi]
mov word [esp + 0x168], 8
jne 0x10068354
mov eax, str.FALSE
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esp + 0x14], eax
mov dword [esp + 0x170], eax
mov ebp, 5
xor edx, edx
mov ecx, dword [ebx + 0x144]
cmp dword [ecx - 8], edx
je 0x100683d1
lea edx, [ebp + ebp*2]
mov ecx, 6
mov esi, 0x100c9d28
lea eax, [ebp + edx*4]
shl eax, 2
mov dword [esp + 0x10], eax
mov dword [esp + eax + 0x74], 0x1015
lea edi, [esp + eax + 0x80]
mov dword [esp + eax + 0x78], 0
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebx + 0x144]
mov word [esp + eax + 0x98], 8
call sub.MFC42.DLL_CString::AllocSysString
mov ecx, dword [esp + 0x10]
inc ebp
mov dword [esp + 0x38], eax
xor edx, edx
mov dword [esp + ecx + 0xa0], eax
cmp dword [ebx + 0x128], edx
jl 0x1006841b
lea eax, [ebp + ebp*2]
mov ecx, 6
mov esi, 0x100c9d28
lea eax, [ebp + eax*4]
shl eax, 2
inc ebp
mov dword [esp + eax + 0x74], 0x100e
lea edi, [esp + eax + 0x80]
mov dword [esp + eax + 0x78], edx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x128]
mov word [esp + eax + 0x98], 3
mov dword [esp + eax + 0xa0], ecx
cmp dword [ebx + 0x12c], edx
jl 0x10068465
lea ecx, [ebp + ebp*2]
mov esi, 0x100c9d28
lea eax, [ebp + ecx*4]
mov ecx, 6
shl eax, 2
inc ebp
mov dword [esp + eax + 0x74], 0x1012
lea edi, [esp + eax + 0x80]
mov dword [esp + eax + 0x78], edx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x12c]
mov word [esp + eax + 0x98], 3
mov dword [esp + eax + 0xa0], ecx
cmp dword [ebx + 0x130], edx
jl 0x100684af
lea eax, [ebp + ebp*2]
mov ecx, 6
mov esi, 0x100c9d28
lea eax, [ebp + eax*4]
shl eax, 2
inc ebp
mov dword [esp + eax + 0x74], 0x100b
lea edi, [esp + eax + 0x80]
mov dword [esp + eax + 0x78], edx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x130]
mov word [esp + eax + 0x98], 3
mov dword [esp + eax + 0xa0], ecx
cmp dword [ebx + 0x13c], edx
jl 0x100684f9
lea ecx, [ebp + ebp*2]
mov esi, 0x100c9d28
lea eax, [ebp + ecx*4]
mov ecx, 6
shl eax, 2
inc ebp
mov dword [esp + eax + 0x74], 0x1016
lea edi, [esp + eax + 0x80]
mov dword [esp + eax + 0x78], edx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x13c]
mov word [esp + eax + 0x98], 3
mov dword [esp + eax + 0xa0], ecx
mov ecx, dword [esp + 0x2c0]
mov eax, dword [ecx]
cmp eax, 9
je 0x1006850c
cmp eax, 0xb
jne 0x10068565
mov eax, dword [ecx + 8]
cmp eax, edx
je 0x10068565
cmp word [eax], dx
je 0x10068565
mov eax, dword [esp + 0x34]
cmp eax, edx
je 0x10068565
cmp word [eax], dx
je 0x10068565
lea eax, [ebp + ebp*2]
mov ecx, 6
mov esi, 0x100c9d28
lea eax, [ebp + eax*4]
shl eax, 2
inc ebp
mov dword [esp + eax + 0x74], 0x102d
lea edi, [esp + eax + 0x80]
mov dword [esp + eax + 0x78], edx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x34]
mov word [esp + eax + 0x98], 8
mov dword [esp + eax + 0xa0], ecx
cmp dword [ebx + 0x140], edx
jle 0x100685af
lea eax, [ebp + ebp*2]
mov ecx, 6
mov esi, 0x100c9d28
lea eax, [ebp + eax*4]
shl eax, 2
inc ebp
mov dword [esp + eax + 0x74], 0x102c
lea edi, [esp + eax + 0x80]
mov dword [esp + eax + 0x78], edx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x140]
mov word [esp + eax + 0x98], 3
mov dword [esp + eax + 0xa0], ecx
mov eax, dword [0x100c9c40]
mov ecx, dword [0x100c9c38]
mov edx, dword [0x100c9c3c]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x4c], ecx
mov ecx, dword [0x100c9c44]
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x44], eax
mov eax, dword [0x100ca098]
mov dword [esp + 0x58], ecx
mov ecx, dword [0x100ca090]
mov dword [esp + 0x48], edx
mov edx, dword [0x100ca094]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x44]
mov dword [esp + 0x64], ecx
mov ecx, dword [0x100ca09c]
mov dword [esp + 0x68], edx
push 2
lea edx, [esp + 0x78]
push eax
push edi
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x68], edx
call fcn.1003ee40
mov esi, eax
add esp, 0xc
test esi, esi
mov ecx, 0x100f0818
je 0x100686d1
call fcn.100882b0
test eax, eax
je 0x1006869f
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
push esi
push ebx
lea ecx, [esp + 0x18]
push str._CMdConnect::DoConnect__p__:__S_n
push ecx
mov byte [esp + 0x2c8], 4
call sub.MFC42.DLL_CString::Format
mov ebp, dword [esp + 0x20]
add esp, 0x10
mov ecx, 0x100f0818
push str._r_n_r_n
push str.__COM_r_n
call fcn.100882e0
push eax
push ebp
mov ecx, 0x100f0818
call fcn.10088520
lea ecx, [esp + 0x10]
mov byte [esp + 0x2b8], 0
call fcn.100ae920
lea edx, [esp + 0x28]
lea eax, [esp + 0x24]
lea ebp, [ebx + 0x70]
push edx
push eax
lea ecx, [ebx + 0x6c]
push ebp
push ecx
push esi
call fcn.1003e470
mov edx, dword [esp + 0x2dc]
add esp, 0x14
push esi
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edx], eax
call esi
jmp 0x10068799
call fcn.100882b0
test eax, eax
je 0x10068765
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x2c0]
mov byte [esp + 0x2b8], 5
mov ecx, dword [eax + 0x10]
test ecx, ecx
mov edx, ecx
jne 0x10068704
mov edx, 0x100f02a0
mov ecx, dword [eax + 0xc]
test ecx, ecx
jne 0x10068710
mov ecx, 0x100f02a0
push edx
mov edx, dword [eax + 4]
push ecx
mov ecx, dword [eax + 8]
mov eax, dword [eax]
push ecx
push edx
push eax
push ebx
lea ecx, [esp + 0x28]
push str._CMdConnect::DoConnect__p__:_Provider_ld__Server_S__Db_S__User_S__Pwd_S_n
push ecx
call sub.MFC42.DLL_CString::Format
mov esi, dword [esp + 0x30]
add esp, 0x20
mov ecx, 0x100f0818
push str._r_n_r_n
push str.__COM_r_n
call fcn.100882e0
push eax
push esi
mov ecx, 0x100f0818
call fcn.10088520
lea ecx, [esp + 0x10]
mov byte [esp + 0x2b8], 0
call fcn.100ae920
mov ecx, dword [0x100f0d48]
lea edx, [esp + 0x28]
lea eax, [esp + 0x24]
push edx
lea ebp, [ebx + 0x70]
push eax
push ecx
push ebp
lea edx, [esp + 0x54]
push 2
push edx
push edi
call fcn.1003e280
mov ecx, dword [esp + 0x2e4]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
add esp, 0x1c
mov dword [ecx], eax
mov edx, dword [esp + 0x14]
push edx
call esi
mov eax, dword [esp + 0x38]
push eax
call esi
mov ecx, dword [esp + 0x30]
push ecx
call fcn.100ae914
mov esi, dword [esp + 0x2c4]
add esp, 4
cmp dword [ebp], 0
je 0x10068a3f
lea edx, [ebx + 0x9c]
push esi
push edx
call fcn.100967c0
mov eax, dword [ebx + 0xa0]
add esp, 8
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebx + 0xa0], eax
mov eax, dword [esp + 0x20]
xor esi, esi
cmp eax, esi
jne 0x10068802
mov eax, 0x100f02a0
push eax
lea ecx, [ebx + 0xc4]
call sub.MFC42.DLL_CString::operator_3
mov eax, dword [ebx + 0xa4]
cmp eax, esi
jne 0x1006881d
mov eax, 0x100f02a0
push eax
lea ecx, [ebx + 0xc8]
call sub.MFC42.DLL_CString::operator_3
mov eax, dword [0x100c9c48]
mov ecx, dword [0x100c9c4c]
lea edx, [esp + 0x38]
mov dword [esp + 0x4c], eax
mov eax, dword [0x100c9c54]
mov dword [esp + 0x44], edx
mov edx, dword [0x100c9c50]
mov dword [esp + 0x58], eax
mov eax, dword [ebp]
mov dword [esp + 0x54], edx
lea edx, [esp + 0x14]
mov dword [esp + 0x38], 0x29
mov dword [esp + 0x48], 1
mov dword [esp + 0x50], ecx
mov dword [esp + 0x40], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], esi
mov ecx, dword [eax]
push edx
push 0x100cc0c8
push eax
call dword [ecx]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
lea edx, [esp + 0x44]
mov ecx, dword [eax]
push edx
lea edx, [esp + 0x4c]
push edx
push 1
push eax
call dword [ecx + 0xc]
mov edi, eax
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
cmp edi, esi
jl 0x1006892e
mov eax, dword [esp + 0x18]
xor edi, edi
mov dword [esp + 0x30], esi
cmp dword [eax + 4], esi
jbe 0x1006890e
mov edx, dword [edi + eax]
lea ecx, [edx + esi]
mov edx, dword [edx + esi]
cmp edx, 0x29
jne 0x100688e7
cmp word [ecx + 0x24], 8
jne 0x100688e7
mov eax, dword [ecx + 0x2c]
lea ecx, [ebx + 0xb4]
push eax
call sub.MFC42.DLL_CString::operator_3
mov eax, dword [esp + 0x18]
mov ecx, dword [edi + eax]
lea edx, [ecx + esi + 0x24]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x30]
inc ecx
add esi, 0x34
mov edx, dword [eax + 4]
mov dword [esp + 0x30], ecx
cmp ecx, edx
jb 0x100688bf
xor esi, esi
mov eax, dword [edi + eax]
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov ecx, dword [esp + 0x18]
mov dword [edi + ecx], esi
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov dword [esp + 0x18], esi
lea eax, [esp + 0x3c]
mov ecx, ebx
push eax
call fcn.10068fa0
mov ecx, dword [ebx + 0x14c]
mov edx, dword [esp + 0x3c]
push 0xa0000
push ecx
push edx
call fcn.10090130
mov ebp, dword [ebp]
add esp, 0xc
lea ecx, [esp + 0x10]
mov dword [ebx + 0x14c], eax
mov dword [esp + 0x10], esi
mov dword [esp + 0x1c], esi
mov eax, dword [ebp]
push ecx
push 0x100cc0a8
push ebp
call dword [eax]
mov edx, dword [esp + 0x2c8]
cmp eax, esi
mov dword [edx], eax
jl 0x10068a3f
mov eax, dword [ebx + 0x14c]
and eax, 0xffff
sub eax, 0
je 0x100689d7
dec eax
je 0x1006899f
dec eax
je 0x100689d7
mov esi, edx
jmp 0x100689f6
mov eax, dword [esp + 0x10]
lea edi, [ebx + 0xb8]
push edi
push 0x100cc248
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0xc]
mov esi, dword [esp + 0x2c8]
test eax, eax
mov dword [esi], eax
jl 0x100689f6
mov edi, dword [edi]
lea eax, [esp + 0x1c]
push eax
push 0x100cc098
mov edx, dword [edi]
push edi
call dword [edx]
jmp 0x100689f4
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x1c]
push edx
push 0x100cc098
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0xc]
mov esi, dword [esp + 0x2c8]
mov dword [esi], eax
cmp dword [esi], 0
jl 0x10068a24
mov eax, dword [esp + 0x1c]
lea edx, [ebx + 0xbc]
push edx
push 0x100cc058
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0xc]
mov dword [esi], eax
mov eax, dword [esp + 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [esi], 0
jge 0x10068a35
lea edx, [ebx + 0xb8]
mov ecx, 0x100f0c60
push edx
call fcn.10090520
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov esi, dword [esp + 0x2c8]
mov ecx, 0x100f0818
cmp dword [esi], 0
jge 0x10068b7d
call fcn.100882b0
test eax, eax
je 0x10068ab9
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
mov edx, dword [esi]
lea eax, [esp + 0x14]
push edx
push ebx
push str._CMdConnect::DoConnect__p__failed_:_X__n
push eax
mov byte [esp + 0x2c8], 6
call sub.MFC42.DLL_CString::Format
mov esi, dword [esp + 0x24]
add esp, 0x10
mov ecx, 0x100f0818
push str._r_n_r_n
push str.__COM_r_n
call fcn.100882e0
push eax
push esi
mov ecx, 0x100f0818
call fcn.10088520
lea ecx, [esp + 0x14]
mov byte [esp + 0x2b8], 0
call fcn.100ae920
mov eax, dword [esp + 0x28]
xor ebp, ebp
test eax, eax
jbe 0x10068b75
xor esi, esi
mov eax, dword [esp + 0x24]
mov ecx, dword [esi + eax]
mov edx, dword [ecx - 8]
test edx, edx
je 0x10068b65
mov edx, ecx
lea eax, [ebx + 0x150]
push edx
push 0x1019
push 0x40
push 0
push eax
call fcn.1009bf70
add esp, 0x14
mov ecx, 0x100f0818
call fcn.100882b0
test eax, eax
je 0x10068b65
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x14]
mov byte [esp + 0x2b8], 7
mov edx, dword [esi + ecx]
push edx
push ebx
push str._CMdConnect::DoConnect__p__failed_:_s__n
push eax
call sub.MFC42.DLL_CString::Format
mov edi, dword [esp + 0x24]
add esp, 0x10
mov ecx, 0x100f0818
push str._r_n_r_n
push str.__COM_r_n
call fcn.100882e0
push eax
push edi
mov ecx, 0x100f0818
call fcn.10088520
lea ecx, [esp + 0x14]
mov byte [esp + 0x2b8], 0
call fcn.100ae920
mov eax, dword [esp + 0x28]
inc ebp
add esi, 0x20
cmp ebp, eax
jb 0x10068ac9
mov ecx, dword [ebx]
push ebx
call dword [ecx + 0x10]
jmp 0x10068bdf
call fcn.100882b0
test eax, eax
je 0x10068bdf
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
push ebx
lea edx, [esp + 0x18]
push str.CMdConnect::DoConnect__p__succeeded
push edx
mov byte [esp + 0x2c4], 8
call sub.MFC42.DLL_CString::Format
mov esi, dword [esp + 0x20]
add esp, 0xc
mov ecx, 0x100f0818
push 0x100e095c
push str._COM__n
call fcn.100882e0
push eax
push esi
mov ecx, 0x100f0818
call fcn.10088520
lea ecx, [esp + 0x14]
mov byte [esp + 0x2b8], 0
call fcn.100ae920
mov eax, dword [esp + 0x20]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push eax
call esi
mov ecx, dword [esp + 0x34]
push ecx
call esi
mov eax, dword [esp + 0x24]
test eax, eax
je 0x10068c18
mov edx, dword [eax - 4]
lea esi, [eax - 4]
push 0x10009d00
push edx
push 0x20
push eax
call fcn.100af11a
push esi
call fcn.100ae914
add esp, 4
mov dword [esp + 0x2b8], 0xffffffff
jmp 0x10068c39
mov eax, dword [esp + 0x2c8]
mov dword [eax], 0x80004005
mov dword [esp + 0x2b8], edi
lea ecx, [esp + 0x2c]
call fcn.100ae920
mov ecx, dword [esp + 0x2b0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2ac
ret 0xc