Function at 0x65e610
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x406f36
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0xd0
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x404f10
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 1
mov dword [ebp - 4], 2
push 0xffffffffffffffff
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
mov dword [ebp - 4], 3
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
lea edx, [ebp - 0xc0]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSetAddref]
mov dword [ebp - 4], 4
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x68], 0xb
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov eax, esp
mov ecx, dword [ebp - 0x68]
mov dword [eax], ecx
mov edx, dword [ebp - 0x64]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x60]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x5c]
mov dword [eax + 0xc], edx
push 0x19
mov eax, dword [ebp - 0xc0]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaLateIdSt]
mov dword [ebp - 4], 5
push 0
push 4
mov ecx, dword [ebp - 0xc0]
push ecx
lea edx, [ebp - 0x38]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaLateIdCallLd]
add esp, 0x10
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaI4Var]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x88], 0x8003
mov dword [ebp - 0x60], 1
mov dword [ebp - 0x68], 2
lea eax, [ebp - 0x88]
push eax
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x78]
call dword [sym.imp.MSVBVM60.DLL___vbaVarVargNofree]
push eax
lea ecx, [ebp - 0x68]
push ecx
lea edx, [ebp - 0x48]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarAdd]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstLt]
mov word [ebp - 0xbc], ax
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x38]
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0xc
movsx edx, word [ebp - 0xbc]
test edx, edx
je 0x65e7dd
mov dword [ebp - 4], 6
mov dword [ebp - 0x60], 1
mov dword [ebp - 0x68], 2
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x78]
call dword [sym.imp.MSVBVM60.DLL___vbaVarVargNofree]
push eax
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x38]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarAdd]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaI4Var]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x88], 3
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov edx, esp
mov eax, dword [ebp - 0x88]
mov dword [edx], eax
mov ecx, dword [ebp - 0x84]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x80]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x7c]
mov dword [edx + 0xc], ecx
push 4
mov edx, dword [ebp - 0xc0]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaLateIdSt]
lea ecx, [ebp - 0x38]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov dword [ebp - 4], 8
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x68], 0x8002
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x88], 3
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov eax, esp
mov ecx, dword [ebp - 0x88]
mov dword [eax], ecx
mov edx, dword [ebp - 0x84]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x80]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x7c]
mov dword [eax + 0xc], edx
push 1
push 0x3a
mov eax, dword [ebp - 0xc0]
push eax
lea ecx, [ebp - 0x48]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaLateIdCallLd]
add esp, 0x20
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaI4Var]
xor edx, edx
cmp eax, 0x190
setl dl
neg edx
mov word [ebp - 0xa0], dx
mov dword [ebp - 0xa8], 0xb
mov edx, dword [ebp + 0x10]
lea ecx, [ebp - 0x78]
call dword [sym.imp.MSVBVM60.DLL___vbaVarVargNofree]
push eax
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x38]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCmpEq]
push eax
lea edx, [ebp - 0xa8]
push edx
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarAnd]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaBoolVarNull]
mov word [ebp - 0xbc], ax
lea ecx, [ebp - 0xa8]
push ecx
lea edx, [ebp - 0x48]
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0xc
movsx eax, word [ebp - 0xbc]
test eax, eax
je 0x65e9e3
mov dword [ebp - 4], 9
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x88], 3
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x68], 3
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov ecx, esp
mov edx, dword [ebp - 0x68]
mov dword [ecx], edx
mov eax, dword [ebp - 0x64]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x60]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x5c]
mov dword [ecx + 0xc], eax
push 1
push 0x3a
mov ecx, dword [ebp - 0xc0]
push ecx
lea edx, [ebp - 0x38]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaLateIdCallLd]
add esp, 0x20
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaI4Var]
mov dword [ebp - 0xe0], eax
fild dword [ebp - 0xe0]
fstp qword [ebp - 0xe8]
fld qword [ebp - 0xe8]
fmul qword [0x404f88]
fnstsw ax
test al, 0xd
jne 0x65eec0
call dword [sym.imp.MSVBVM60.DLL___vbaFpI4]
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0xa8], 3
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov eax, esp
mov ecx, dword [ebp - 0x88]
mov dword [eax], ecx
mov edx, dword [ebp - 0x84]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x80]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x7c]
mov dword [eax + 0xc], edx
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov eax, esp
mov ecx, dword [ebp - 0xa8]
mov dword [eax], ecx
mov edx, dword [ebp - 0xa4]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0xa0]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x9c]
mov dword [eax + 0xc], edx
push 1
push 0x3a
mov eax, dword [ebp - 0xc0]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaLateIdCallSt]
add esp, 0x2c
lea ecx, [ebp - 0x38]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov dword [ebp - 4], 0xb
mov dword [ebp - 0x60], 1
mov dword [ebp - 0x68], 0x8002
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x88], 3
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov ecx, esp
mov edx, dword [ebp - 0x88]
mov dword [ecx], edx
mov eax, dword [ebp - 0x84]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x80]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x7c]
mov dword [ecx + 0xc], eax
push 1
push 0x3a
mov ecx, dword [ebp - 0xc0]
push ecx
lea edx, [ebp - 0x48]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaLateIdCallLd]
add esp, 0x20
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaI4Var]
xor ecx, ecx
cmp eax, 0x190
setl cl
neg ecx
mov word [ebp - 0xa0], cx
mov dword [ebp - 0xa8], 0xb
mov edx, dword [ebp + 0x10]
lea ecx, [ebp - 0x78]
call dword [sym.imp.MSVBVM60.DLL___vbaVarVargNofree]
push eax
lea edx, [ebp - 0x68]
push edx
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarCmpEq]
push eax
lea ecx, [ebp - 0xa8]
push ecx
lea edx, [ebp - 0x58]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarAnd]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaBoolVarNull]
mov word [ebp - 0xbc], ax
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0x48]
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0xc
movsx edx, word [ebp - 0xbc]
test edx, edx
je 0x65ebc4
mov dword [ebp - 4], 0xc
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x88], 3
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x68], 3
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov eax, esp
mov ecx, dword [ebp - 0x68]
mov dword [eax], ecx
mov edx, dword [ebp - 0x64]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x60]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x5c]
mov dword [eax + 0xc], edx
push 1
push 0x3a
mov eax, dword [ebp - 0xc0]
push eax
lea ecx, [ebp - 0x38]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaLateIdCallLd]
add esp, 0x20
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaI4Var]
imul eax, eax, 2
jo 0x65eec5
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0xa8], 3
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov edx, esp
mov eax, dword [ebp - 0x88]
mov dword [edx], eax
mov ecx, dword [ebp - 0x84]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x80]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x7c]
mov dword [edx + 0xc], ecx
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov edx, esp
mov eax, dword [ebp - 0xa8]
mov dword [edx], eax
mov ecx, dword [ebp - 0xa4]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0xa0]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x9c]
mov dword [edx + 0xc], ecx
push 1
push 0x3a
mov edx, dword [ebp - 0xc0]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaLateIdCallSt]
add esp, 0x2c
lea ecx, [ebp - 0x38]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov dword [ebp - 4], 0xe
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x68], 3
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov eax, esp
mov ecx, dword [ebp - 0x68]
mov dword [eax], ecx
mov edx, dword [ebp - 0x64]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x60]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x5c]
mov dword [eax + 0xc], edx
push 1
push 0x3a
mov eax, dword [ebp - 0xc0]
push eax
lea ecx, [ebp - 0x38]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaLateIdCallLd]
add esp, 0x20
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaI4Var]
mov ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
mov word [ebp - 0x24], ax
lea ecx, [ebp - 0x38]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov dword [ebp - 4], 0xf
push 0
push 0x80010006
mov edx, dword [ebp - 0xc0]
push edx
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaLateIdCallLd]
add esp, 0x10
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaR4Var]
movsx ecx, word [ebp - 0x24]
mov dword [ebp - 0xec], ecx
fild dword [ebp - 0xec]
fstp dword [ebp - 0xf0]
fsub dword [ebp - 0xf0]
fsub dword [0x404f84]
fnstsw ax
test al, 0xd
jne 0x65eec0
call dword [sym.imp.MSVBVM60.DLL___vbaFpI2]
mov word [ebp - 0x28], ax
lea ecx, [ebp - 0x38]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov dword [ebp - 4], 0x10
push 0
push 6
mov edx, dword [ebp - 0xc0]
push edx
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaLateIdCallLd]
add esp, 0x10
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaI4Var]
mov ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
mov word [ebp - 0xc8], ax
mov word [ebp - 0xc4], 0xffff
push 0
push 4
mov ecx, dword [ebp - 0xc0]
push ecx
lea edx, [ebp - 0x38]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaLateIdCallLd]
add esp, 0x10
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaI4Var]
mov ecx, eax
sub ecx, 1
jo 0x65eec5
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
mov word [0x6e8230], ax
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x38]
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0xc
jmp 0x65ed3c
mov dx, word [0x6e8230]
add dx, word [ebp - 0xc4]
jo 0x65eec5
mov word [0x6e8230], dx
mov ax, word [0x6e8230]
cmp ax, word [ebp - 0xc8]
jl 0x65ee23
mov dword [ebp - 4], 0x11
movsx ecx, word [0x6e8230]
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x88], 3
mov dx, word [ebp - 0x28]
mov word [ebp - 0x60], dx
mov dword [ebp - 0x68], 2
lea eax, [ebp - 0x68]
push eax
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x78]
call dword [sym.imp.MSVBVM60.DLL___vbaVarVargNofree]
push eax
lea ecx, [ebp - 0x38]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarDiv]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaI4Var]
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0xa8], 3
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov edx, esp
mov eax, dword [ebp - 0x88]
mov dword [edx], eax
mov ecx, dword [ebp - 0x84]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x80]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x7c]
mov dword [edx + 0xc], ecx
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov edx, esp
mov eax, dword [ebp - 0xa8]
mov dword [edx], eax
mov ecx, dword [ebp - 0xa4]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0xa0]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x9c]
mov dword [edx + 0xc], ecx
push 1
push 0x3a
mov edx, dword [ebp - 0xc0]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaLateIdCallSt]
add esp, 0x2c
mov dword [ebp - 4], 0x12
jmp 0x65ed21
mov dword [ebp - 4], 0x13
mov dword [ebp - 0x60], 0xffffffff
mov dword [ebp - 0x68], 0xb
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov eax, esp
mov ecx, dword [ebp - 0x68]
mov dword [eax], ecx
mov edx, dword [ebp - 0x64]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x60]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x5c]
mov dword [eax + 0xc], edx
push 0x19
mov eax, dword [ebp - 0xc0]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaLateIdSt]
mov dword [ebp - 4], 0x14
push 0
lea ecx, [ebp - 0xc0]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSetAddref]
wait
push 0x65eead
jmp 0x65eea0
lea ecx, [ebp - 0xc0]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
ret
jmp 0x406f3c
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
int3