Function at 0x765528
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x40e906
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0xf4
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x40d7f8
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 1
mov dword [ebp - 4], 2
push 0xffffffffffffffff
call sub.MSVBVM60.DLL___vbaOnError
mov dword [ebp - 4], 3
mov eax, dword [ebp + 8]
movsx eax, word [eax]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 8
jae 0x76559a
and dword [ebp - 0xa0], 0
jmp 0x7655a5
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0xa0], eax
push 0x42e9b4
mov eax, dword [ebp - 0x58]
mov ecx, dword [0x784210]
mov ax, word [ecx + eax*2]
imul ax, ax, 0xc8
jo 0x765e3c
mov ecx, dword [ebp + 0xc]
add ax, word [ecx]
jo 0x765e3c
add ax, 1
jo 0x765e3c
push eax
call sub.MSVBVM60.DLL___vbaStrI2
mov edx, eax
lea ecx, [ebp - 0x2c]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
mov ecx, 0x7843a0
call sub.MSVBVM60.DLL___vbaStrMove
lea ecx, [ebp - 0x2c]
call sub.MSVBVM60.DLL___vbaFreeStr
mov dword [ebp - 4], 4
cmp dword [0x7843a4], 0
jne 0x76562d
push 0x7843a4
push 0x42ab6c
call sub.MSVBVM60.DLL___vbaNew2
mov dword [ebp - 0xa4], 0x7843a4
jmp 0x765637
mov dword [ebp - 0xa4], 0x7843a4
mov eax, dword [ebp - 0xa4]
mov eax, dword [eax]
mov dword [ebp - 0x58], eax
cmp dword [0x784168], 0
jne 0x765666
push 0x784168
push 0x42767c
call sub.MSVBVM60.DLL___vbaNew2
mov dword [ebp - 0xa8], 0x784168
jmp 0x765670
mov dword [ebp - 0xa8], 0x784168
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x54], 9
mov eax, dword [0x7843a0]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x44], 8
push 0xffffffffffffffff
push 2
push 1
push 0x10
pop eax
call sub.MSVBVM60.DLL___vbaChkstk
lea esi, [ebp - 0x54]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x10
pop eax
call sub.MSVBVM60.DLL___vbaChkstk
lea esi, [ebp - 0x44]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x58]
mov eax, dword [eax]
push dword [ebp - 0x58]
call dword [eax + 0xa0]
fnclex
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
jge 0x7656ef
push 0xa0
push 0x42ab7c
push dword [ebp - 0x58]
push dword [ebp - 0x5c]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0xac], eax
jmp 0x7656f6
and dword [ebp - 0xac], 0
mov dword [ebp - 4], 5
cmp dword [0x7843a4], 0
jne 0x765721
push 0x7843a4
push 0x42ab6c
call sub.MSVBVM60.DLL___vbaNew2
mov dword [ebp - 0xb0], 0x7843a4
jmp 0x76572b
mov dword [ebp - 0xb0], 0x7843a4
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x64]
mov eax, dword [eax]
push dword [ebp - 0x64]
call dword [eax + 0x54]
fnclex
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
jge 0x76576a
push 0x54
push 0x42ab7c
push dword [ebp - 0x64]
push dword [ebp - 0x68]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0xb4], eax
jmp 0x765771
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x3c], 0x42e558
mov dword [ebp - 0x44], 8
lea eax, [ebp - 0x34]
push eax
push 0x10
pop eax
call sub.MSVBVM60.DLL___vbaChkstk
lea esi, [ebp - 0x44]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax]
push dword [ebp - 0x6c]
call dword [eax + 0x28]
fnclex
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0
jge 0x7657ca
push 0x28
push 0x42ab8c
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0xb8], eax
jmp 0x7657d1
and dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 8]
movsx eax, word [eax]
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 8
jae 0x7657ef
and dword [ebp - 0xbc], 0
jmp 0x7657fa
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp + 0xc]
movsx eax, word [eax]
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0xc8
jae 0x765815
and dword [ebp - 0xc0], 0
jmp 0x765820
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0xc0], eax
and dword [ebp - 0x58], 0
cmp dword [ebp - 0x58], 0xa
jae 0x765833
and dword [ebp - 0xc4], 0
jmp 0x76583e
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0x58]
imul eax, eax, 0xc8
mov ecx, dword [ebp - 0x5c]
add ecx, eax
mov eax, dword [ebp - 0x60]
lea eax, [eax + ecx*8]
mov ecx, dword [0x78422c]
fld qword [ecx + eax*8]
fstp qword [ebp - 0x4c]
mov dword [ebp - 0x54], 5
push 0x10
pop eax
call sub.MSVBVM60.DLL___vbaChkstk
lea esi, [ebp - 0x54]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x74]
mov eax, dword [eax]
push dword [ebp - 0x74]
call dword [eax + 0x38]
fnclex
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
jge 0x7658a6
push 0x38
push 0x42ab9c
push dword [ebp - 0x74]
push dword [ebp - 0x78]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0xc8], eax
jmp 0x7658ad
and dword [ebp - 0xc8], 0
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x30]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeObjList
add esp, 0xc
mov dword [ebp - 4], 6
cmp dword [0x7843a4], 0
jne 0x7658ea
push 0x7843a4
push 0x42ab6c
call sub.MSVBVM60.DLL___vbaNew2
mov dword [ebp - 0xcc], 0x7843a4
jmp 0x7658f4
mov dword [ebp - 0xcc], 0x7843a4
mov eax, dword [ebp - 0xcc]
mov eax, dword [eax]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x64]
mov eax, dword [eax]
push dword [ebp - 0x64]
call dword [eax + 0x54]
fnclex
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
jge 0x765933
push 0x54
push 0x42ab7c
push dword [ebp - 0x64]
push dword [ebp - 0x68]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0xd0], eax
jmp 0x76593a
and dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x3c], 0x42e8b0
mov dword [ebp - 0x44], 8
lea eax, [ebp - 0x34]
push eax
push 0x10
pop eax
call sub.MSVBVM60.DLL___vbaChkstk
lea esi, [ebp - 0x44]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax]
push dword [ebp - 0x6c]
call dword [eax + 0x28]
fnclex
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0
jge 0x765993
push 0x28
push 0x42ab8c
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0xd4], eax
jmp 0x76599a
and dword [ebp - 0xd4], 0
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 8]
movsx eax, word [eax]
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 8
jae 0x7659b8
and dword [ebp - 0xd8], 0
jmp 0x7659c3
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp + 0xc]
movsx eax, word [eax]
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0xc8
jae 0x7659de
and dword [ebp - 0xdc], 0
jmp 0x7659e9
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0x58], 9
cmp dword [ebp - 0x58], 0xa
jae 0x7659ff
and dword [ebp - 0xe0], 0
jmp 0x765a0a
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0x58]
imul eax, eax, 0xc8
mov ecx, dword [ebp - 0x5c]
add ecx, eax
mov eax, dword [ebp - 0x60]
lea eax, [eax + ecx*8]
mov ecx, dword [0x78422c]
fld qword [ecx + eax*8]
fstp qword [ebp - 0x4c]
mov dword [ebp - 0x54], 5
push 0x10
pop eax
call sub.MSVBVM60.DLL___vbaChkstk
lea esi, [ebp - 0x54]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x74]
mov eax, dword [eax]
push dword [ebp - 0x74]
call dword [eax + 0x38]
fnclex
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
jge 0x765a72
push 0x38
push 0x42ab9c
push dword [ebp - 0x74]
push dword [ebp - 0x78]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0xe4], eax
jmp 0x765a79
and dword [ebp - 0xe4], 0
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x30]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeObjList
add esp, 0xc
mov dword [ebp - 4], 7
cmp dword [0x7843a4], 0
jne 0x765ab6
push 0x7843a4
push 0x42ab6c
call sub.MSVBVM60.DLL___vbaNew2
mov dword [ebp - 0xe8], 0x7843a4
jmp 0x765ac0
mov dword [ebp - 0xe8], 0x7843a4
mov eax, dword [ebp - 0xe8]
mov eax, dword [eax]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x4c], 0x80020004
mov dword [ebp - 0x54], 0xa
mov dword [ebp - 0x3c], 0x80020004
mov dword [ebp - 0x44], 0xa
push 0x10
pop eax
call sub.MSVBVM60.DLL___vbaChkstk
lea esi, [ebp - 0x54]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x10
pop eax
call sub.MSVBVM60.DLL___vbaChkstk
lea esi, [ebp - 0x44]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x58]
mov eax, dword [eax]
push dword [ebp - 0x58]
call dword [eax + 0xac]
fnclex
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
jge 0x765b3f
push 0xac
push 0x42ab7c
push dword [ebp - 0x58]
push dword [ebp - 0x5c]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0xec], eax
jmp 0x765b46
and dword [ebp - 0xec], 0
mov dword [ebp - 4], 8
cmp dword [0x7843a4], 0
jne 0x765b71
push 0x7843a4
push 0x42ab6c
call sub.MSVBVM60.DLL___vbaNew2
mov dword [ebp - 0xf0], 0x7843a4
jmp 0x765b7b
mov dword [ebp - 0xf0], 0x7843a4
mov eax, dword [ebp - 0xf0]
mov eax, dword [eax]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov eax, dword [eax]
push dword [ebp - 0x58]
call dword [eax + 0x80]
fnclex
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
jge 0x765bbc
push 0x80
push 0x42ab7c
push dword [ebp - 0x58]
push dword [ebp - 0x5c]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0xf4], eax
jmp 0x765bc3
and dword [ebp - 0xf4], 0
mov dword [ebp - 4], 9
mov eax, dword [ebp + 8]
movsx eax, word [eax]
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0x80
jae 0x765be5
and dword [ebp - 0xf8], 0
jmp 0x765bf0
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0xf8], eax
and dword [ebp - 0x58], 0
cmp dword [ebp - 0x58], 0x1b
jae 0x765c03
and dword [ebp - 0xfc], 0
jmp 0x765c0e
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0x58]
shl eax, 7
mov ecx, dword [ebp - 0x5c]
add ecx, eax
mov eax, dword [0x7841c8]
fld qword [eax + ecx*8]
fcomp qword [0x403c98]
fnstsw ax
sahf
jne 0x765e07
mov dword [ebp - 4], 0xa
mov word [ebp - 0x80], 7
mov word [ebp - 0x7c], 1
and word [ebp - 0x24], 0
jmp 0x765c5c
mov ax, word [ebp - 0x24]
add ax, word [ebp - 0x7c]
jo 0x765e3c
mov word [ebp - 0x24], ax
mov ax, word [ebp - 0x24]
cmp ax, word [ebp - 0x80]
jg 0x765e07
mov dword [ebp - 4], 0xb
movsx eax, word [ebp - 0x24]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 8
jae 0x765c87
and dword [ebp - 0x100], 0
jmp 0x765c92
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x58]
mov ecx, dword [0x784210]
mov edx, dword [ebp + 8]
mov ax, word [ecx + eax*2]
cmp ax, word [edx]
jne 0x765dfb
mov ax, word [0x7841ac]
cmp ax, word [0x7841b4]
jne 0x765dfb
mov dword [ebp - 4], 0xc
mov word [ebp - 0x88], 9
mov word [ebp - 0x84], 1
and word [ebp - 0x28], 0
jmp 0x765cf3
mov ax, word [ebp - 0x28]
add ax, word [ebp - 0x84]
jo 0x765e3c
mov word [ebp - 0x28], ax
mov ax, word [ebp - 0x28]
cmp ax, word [ebp - 0x88]
jg 0x765df9
mov dword [ebp - 4], 0xd
mov eax, dword [ebp + 0xc]
movsx eax, word [eax]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0xc9
jae 0x765d26
and dword [ebp - 0x104], 0
jmp 0x765d31
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x104], eax
movsx eax, word [ebp - 0x28]
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0xa
jae 0x765d47
and dword [ebp - 0x108], 0
jmp 0x765d52
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x108], eax
movsx eax, word [ebp - 0x24]
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 8
jae 0x765d68
and dword [ebp - 0x10c], 0
jmp 0x765d73
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp + 0xc]
movsx eax, word [eax]
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0xc8
jae 0x765d8e
and dword [ebp - 0x110], 0
jmp 0x765d99
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x110], eax
movsx eax, word [ebp - 0x28]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0xa
jae 0x765daf
and dword [ebp - 0x114], 0
jmp 0x765dba
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x64]
imul eax, eax, 0xc9
mov ecx, dword [ebp - 0x68]
add ecx, eax
mov eax, dword [0x7842f8]
mov edx, dword [ebp - 0x58]
imul edx, edx, 0xc8
mov esi, dword [ebp - 0x5c]
add esi, edx
mov edx, dword [ebp - 0x60]
lea edx, [edx + esi*8]
mov esi, dword [0x78422c]
fld qword [eax + ecx*8]
fstp qword [esi + edx*8]
mov dword [ebp - 4], 0xe
jmp 0x765cde
jmp 0x765e07
mov dword [ebp - 4], 0x11
jmp 0x765c4a
wait
push 0x765e2b
jmp 0x765e2a
ret
call sub.MSVBVM60.DLL___vbaErrorOverflow