Function at 0x406b70
Capabilities:
Check http status code

Disassembly:
jmp dword [sym.imp.MSVBVM60.DLL___vbaFPException]
push ebp
mov ebp, esp
sub esp, 0x18
push 0x401326
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x114
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x401240
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 1
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
push 3
push 0x4053b4
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaAryConstruct2]
mov dword [ebp - 4], 2
push 0xffffffffffffffff
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
mov dword [ebp - 4], 3
mov dword [ebp - 0x64], 8
mov dword [ebp - 4], 4
mov dword [ebp - 0x2c], 0x60
mov dword [ebp - 4], 5
mov ecx, dword [ebp - 0x64]
cmp ecx, dword [ebp - 0x2c]
jg 0x406d3f
mov dword [ebp - 4], 6
mov edx, dword [ebp - 0x64]
imul edx, edx, 2
jo 0x4071a0
mov dword [ebp - 0x64], edx
mov dword [ebp - 4], 7
push 0
fild dword [ebp - 0x64]
fstp qword [ebp - 0x114]
fld qword [ebp - 0x114]
cmp dword [section..data], 0
jne 0x406c4f
fdiv qword [0x4012d8]
jmp 0x406c60
push dword [0x4012dc]
push dword [0x4012d8]
call sub.MSVBVM60.DLL__adj_fdiv_m64
fnstsw ax
test al, 0xd
jne 0x40719b
call dword [sym.imp.MSVBVM60.DLL___vbaFpI4]
push eax
push 1
push 3
lea eax, [ebp - 0x70]
push eax
push 4
push 0x80
call dword [sym.imp.MSVBVM60.DLL___vbaRedim]
add esp, 0x1c
mov dword [ebp - 4], 8
mov ecx, dword [ebp - 0x70]
push ecx
lea edx, [ebp - 0x74]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaAryLock]
cmp dword [ebp - 0x74], 0
je 0x406cf5
mov eax, dword [ebp - 0x74]
cmp word [eax], 1
jne 0x406cf5
mov ecx, dword [ebp - 0x74]
mov edx, 1
sub edx, dword [ecx + 0x14]
mov dword [ebp - 0xf0], edx
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0xf0]
cmp ecx, dword [eax + 0x10]
jae 0x406cd8
mov dword [ebp - 0x118], 0
jmp 0x406ce4
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0x118], eax
mov edx, dword [ebp - 0xf0]
shl edx, 2
mov dword [ebp - 0x11c], edx
jmp 0x406d01
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0x11c], eax
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x64]
push ecx
mov edx, dword [ebp - 0x74]
mov eax, dword [edx + 0xc]
add eax, dword [ebp - 0x11c]
push eax
call fcn.00404dd0
mov dword [ebp - 0xec], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
lea ecx, [ebp - 0x74]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaAryUnlock]
mov edx, dword [ebp - 0xec]
mov dword [ebp - 0x60], edx
jmp 0x406bfd
mov dword [ebp - 4], 0xa
fild dword [ebp - 0x2c]
fstp qword [ebp - 0x124]
fld qword [ebp - 0x124]
cmp dword [section..data], 0
jne 0x406d66
fdiv qword [0x4012d8]
jmp 0x406d77
push dword [0x4012dc]
push dword [0x4012d8]
call sub.MSVBVM60.DLL__adj_fdiv_m64
fnstsw ax
test al, 0xd
jne 0x40719b
call dword [sym.imp.MSVBVM60.DLL___vbaFpI4]
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0xb
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0xf4], 1
mov dword [ebp - 0x24], 1
jmp 0x406dbf
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0xf4]
jo 0x4071a0
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
cmp edx, dword [ebp - 0xf8]
jg 0x40710e
mov dword [ebp - 4], 0xc
cmp dword [ebp - 0x70], 0
je 0x406e2a
mov eax, dword [ebp - 0x70]
cmp word [eax], 1
jne 0x406e2a
mov ecx, dword [ebp - 0x70]
mov edx, dword [ebp - 0x24]
sub edx, dword [ecx + 0x14]
mov dword [ebp - 0xf0], edx
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0xf0]
cmp ecx, dword [eax + 0x10]
jae 0x406e0d
mov dword [ebp - 0x128], 0
jmp 0x406e19
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0x128], eax
mov edx, dword [ebp - 0xf0]
shl edx, 2
mov dword [ebp - 0x12c], edx
jmp 0x406e36
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 0x12c]
mov eax, dword [ecx + edx]
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], 0xd
mov ecx, dword [ebp - 0x34]
push ecx
push 0
push 0x410
call fcn.00404bec
mov dword [ebp - 0xec], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov edx, dword [ebp - 0xec]
mov dword [ebp - 0x3c], edx
mov dword [ebp - 4], 0xe
cmp dword [ebp - 0x3c], 0
je 0x4070dd
mov dword [ebp - 4], 0xf
mov eax, 1
sub eax, 1
mov dword [ebp - 0xf0], eax
cmp dword [ebp - 0xf0], 0xc8
jae 0x406eb2
mov dword [ebp - 0x130], 0
jmp 0x406ebe
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0x130], eax
lea ecx, [ebp - 0x68]
push ecx
push 0xc8
mov edx, dword [ebp - 0xf0]
mov eax, dword [ebp - 0x4c]
lea ecx, [eax + edx*4]
push ecx
mov edx, dword [ebp - 0x3c]
push edx
call fcn.00404e6c
mov dword [ebp - 0xec], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x60], eax
mov dword [ebp - 4], 0x10
cmp dword [ebp - 0x60], 0
je 0x4070dd
mov dword [ebp - 4], 0x11
push 0x104
lea ecx, [ebp - 0x88]
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcSpaceVar]
lea edx, [ebp - 0x88]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea ecx, [ebp - 0x88]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov dword [ebp - 4], 0x12
mov dword [ebp - 0x6c], 0x1f4
mov dword [ebp - 4], 0x13
mov eax, 1
sub eax, 1
mov dword [ebp - 0xf0], eax
cmp dword [ebp - 0xf0], 0xc8
jae 0x406f7b
mov dword [ebp - 0x134], 0
jmp 0x406f87
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0x134], eax
mov ecx, dword [ebp - 0x6c]
push ecx
mov edx, dword [ebp - 0x40]
push edx
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrToAnsi]
push eax
mov ecx, dword [ebp - 0xf0]
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx + ecx*4]
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.00404e20
mov dword [ebp - 0xec], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov edx, dword [ebp - 0x78]
push edx
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrToUnicode]
mov ecx, dword [ebp - 0xec]
mov dword [ebp - 0x60], ecx
lea ecx, [ebp - 0x78]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov dword [ebp - 4], 0x14
lea edx, [ebp - 0x40]
mov dword [ebp - 0xc0], edx
mov dword [ebp - 0xc8], 0x4008
mov eax, dword [ebp - 0x60]
push eax
lea ecx, [ebp - 0xc8]
push ecx
lea edx, [ebp - 0x88]
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcLeftCharVar]
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x98]
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcTrimVar]
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0xd0], edx
mov dword [ebp - 0xd8], 8
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xe8], 0x8002
lea eax, [ebp - 0x98]
push eax
lea ecx, [ebp - 0xd8]
push ecx
push 1
lea edx, [ebp - 0xa8]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrCompVar]
push eax
lea eax, [ebp - 0xe8]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstEq]
mov word [ebp - 0xf0], ax
lea ecx, [ebp - 0xa8]
push ecx
lea edx, [ebp - 0x98]
push edx
lea eax, [ebp - 0x88]
push eax
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x10
movsx ecx, word [ebp - 0xf0]
test ecx, ecx
je 0x4070dd
mov dword [ebp - 4], 0x15
mov edx, dword [ebp - 0x3c]
push edx
call fcn.00404d7c
mov dword [ebp - 0xec], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x60], eax
mov dword [ebp - 4], 0x16
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.004071b0
jmp 0x40710e
mov dword [ebp - 4], 0x1b
mov edx, dword [ebp - 0x3c]
push edx
call fcn.00404d7c
mov dword [ebp - 0xec], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x60], eax
mov dword [ebp - 4], 0x1c
jmp 0x406dad
wait
push 0x407188
jmp 0x407151
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea eax, [ebp - 0x58]
mov dword [ebp - 0xec], eax
lea ecx, [ebp - 0xec]
push ecx
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaAryDestruct]
lea edx, [ebp - 0x70]
push edx
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaAryDestruct]
ret
jmp 0x40132c
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
int3