Function at 0x46e7fb
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push 0x404d96
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0xa8
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x402308
lea eax, [ebp - 0x38]
push eax
call sub.MSVBVM60.DLL_VarPtr
mov dword [ebp - 0x64], eax
and dword [ebp - 0x60], 0
lea eax, [ebp - 0x60]
push eax
push 0x10
push dword [ebp - 0x64]
push 0xb3a910
push dword [0x4f1404]
call fcn.0040eedc
call sub.MSVBVM60.DLL___vbaSetSystemError
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x38]
jo 0x46ed97
mov dword [ebp - 0x7c], eax
fild dword [ebp - 0x7c]
fstp qword [ebp - 0x84]
fld qword [ebp - 0x84]
cmp dword [section..data], 0
jne 0x46e887
fdiv qword [0x402300]
jmp 0x46e898
push dword [0x402304]
push dword [0x402300]
call sub.MSVBVM60.DLL__adj_fdiv_m64
fnstsw ax
test al, 0xd
jne 0x46ed92
call sub.MSVBVM60.DLL___vbaR8IntI4
mov dword [0x4f22d8], eax
cmp dword [0x4f22d8], 0x200
jle 0x46e919
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x34], eax
and dword [ebp - 0x2c], 0
lea eax, [ebp - 0x18]
push eax
push 0x40
push 0x10
push 0xb3a910
push dword [0x4f1404]
call fcn.0040ef70
call sub.MSVBVM60.DLL___vbaSetSystemError
lea eax, [ebp - 0x38]
push eax
call sub.MSVBVM60.DLL_VarPtr
mov dword [ebp - 0x64], eax
and dword [ebp - 0x60], 0
lea eax, [ebp - 0x60]
push eax
push 0x10
push dword [ebp - 0x64]
push 0xb3a910
push dword [0x4f1404]
call fcn.0040ee90
call sub.MSVBVM60.DLL___vbaSetSystemError
and dword [0x4f22d8], 0
jmp 0x46ed69
mov eax, dword [0x4f22d8]
sub eax, 1
jo 0x46ed97
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], 1
and dword [ebp - 0x14], 0
jmp 0x46e946
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x70]
jo 0x46ed97
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x74]
jg 0x46ed69
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0x201
jae 0x46e96a
and dword [ebp - 0x88], 0
jmp 0x46e975
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x14]
imul eax, eax, 0x1c
jo 0x46ed97
mov ecx, dword [ebp - 0x38]
add ecx, eax
jo 0x46ed97
mov eax, dword [ebp - 0x68]
imul eax, eax, 0x2c
mov edx, dword [0x4f22cc]
mov dword [edx + eax], ecx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0x201
jae 0x46e9b3
and dword [ebp - 0x8c], 0
jmp 0x46e9be
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x68]
imul eax, eax, 0x2c
mov ecx, dword [0x4f22cc]
lea eax, [ecx + eax + 4]
push eax
call sub.MSVBVM60.DLL_VarPtr
mov dword [ebp - 0x64], eax
and dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x201
jae 0x46e9f3
and dword [ebp - 0x90], 0
jmp 0x46e9fe
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0x60]
push eax
push 0x1c
push dword [ebp - 0x64]
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0x2c
mov ecx, dword [0x4f22cc]
push dword [ecx + eax]
push dword [0x4f1404]
call fcn.0040eedc
call sub.MSVBVM60.DLL___vbaSetSystemError
and dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0x30
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x201
jae 0x46ea49
and dword [ebp - 0x94], 0
jmp 0x46ea54
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0x201
jae 0x46ea6c
and dword [ebp - 0x98], 0
jmp 0x46ea77
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x98], eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x60]
push eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0x2c
mov ecx, dword [0x4f22cc]
lea eax, [ecx + eax + 4]
push eax
push 0x4f1404
call fcn.00436884
mov edx, eax
lea ecx, [ebp - 0x3c]
call sub.MSVBVM60.DLL___vbaStrMove
mov edx, eax
mov eax, dword [ebp - 0x68]
imul eax, eax, 0x2c
mov ecx, dword [0x4f22cc]
lea ecx, [ecx + eax + 0x20]
call sub.MSVBVM60.DLL___vbaStrCopy
lea ecx, [ebp - 0x3c]
call sub.MSVBVM60.DLL___vbaFreeStr
mov dword [ebp - 0x64], 0x80
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x201
jae 0x46eae2
and dword [ebp - 0x9c], 0
jmp 0x46eaed
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x9c], eax
and dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0x201
jae 0x46eb09
and dword [ebp - 0xa0], 0
jmp 0x46eb14
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0xa0], eax
lea eax, [ebp - 0x64]
push eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0x2c
mov ecx, dword [0x4f22cc]
lea eax, [ecx + eax + 8]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.004366c0
mov edx, eax
lea ecx, [ebp - 0x3c]
call sub.MSVBVM60.DLL___vbaStrMove
mov edx, eax
mov eax, dword [ebp - 0x68]
imul eax, eax, 0x2c
mov ecx, dword [0x4f22cc]
lea ecx, [ecx + eax + 0x24]
call sub.MSVBVM60.DLL___vbaStrCopy
lea ecx, [ebp - 0x3c]
call sub.MSVBVM60.DLL___vbaFreeStr
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0x201
jae 0x46eb73
and dword [ebp - 0xa4], 0
jmp 0x46eb7e
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0xa4], eax
push 1
mov eax, dword [ebp - 0x68]
imul eax, eax, 0x2c
mov ecx, dword [0x4f22cc]
push dword [ecx + eax + 0x24]
push 0x421888
push 0
call sub.MSVBVM60.DLL___vbaInStr
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jle 0x46ec62
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x201
jae 0x46ebc1
and dword [ebp - 0xa8], 0
jmp 0x46ebcc
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0x2c
mov ecx, dword [0x4f22cc]
lea eax, [ecx + eax + 0x24]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x5c], 0x4008
mov eax, dword [ebp - 0x18]
sub eax, 1
jo 0x46ed97
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x4c]
push eax
call sub.MSVBVM60.DLL_rtcLeftCharVar
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0x201
jae 0x46ec18
and dword [ebp - 0xac], 0
jmp 0x46ec23
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0xac], eax
lea eax, [ebp - 0x4c]
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x3c]
call sub.MSVBVM60.DLL___vbaStrMove
mov edx, eax
mov eax, dword [ebp - 0x68]
imul eax, eax, 0x2c
mov ecx, dword [0x4f22cc]
lea ecx, [ecx + eax + 0x28]
call sub.MSVBVM60.DLL___vbaStrCopy
lea ecx, [ebp - 0x3c]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x4c]
call sub.MSVBVM60.DLL___vbaFreeVar
jmp 0x46ed64
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0x201
jae 0x46ec7a
and dword [ebp - 0xb0], 0
jmp 0x46ec85
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0xb0], eax
push 1
mov eax, dword [ebp - 0x68]
imul eax, eax, 0x2c
mov ecx, dword [0x4f22cc]
push dword [ecx + eax + 0x24]
push 0x41128c
push 0
call sub.MSVBVM60.DLL___vbaInStr
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jle 0x46ed64
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x201
jae 0x46ecc8
and dword [ebp - 0xb4], 0
jmp 0x46ecd3
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0x2c
mov ecx, dword [0x4f22cc]
lea eax, [ecx + eax + 0x24]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x5c], 0x4008
mov eax, dword [ebp - 0x18]
sub eax, 1
jo 0x46ed97
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x4c]
push eax
call sub.MSVBVM60.DLL_rtcLeftCharVar
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0x201
jae 0x46ed1f
and dword [ebp - 0xb8], 0
jmp 0x46ed2a
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0xb8], eax
lea eax, [ebp - 0x4c]
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x3c]
call sub.MSVBVM60.DLL___vbaStrMove
mov edx, eax
mov eax, dword [ebp - 0x68]
imul eax, eax, 0x2c
mov ecx, dword [0x4f22cc]
lea ecx, [ecx + eax + 0x28]
call sub.MSVBVM60.DLL___vbaStrCopy
lea ecx, [ebp - 0x3c]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x4c]
call sub.MSVBVM60.DLL___vbaFreeVar
jmp 0x46e937
wait
push 0x46ed83
jmp 0x46ed82
ret
jmp fcn.00404d9c
call sub.MSVBVM60.DLL___vbaErrorOverflow