Function at 0x46cd53
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push 0x404446
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], 0x4022f8
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 [0x4d1404]
call fcn.0040e268
call sub.MSVBVM60.DLL___vbaSetSystemError
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x38]
jo 0x46d2ef
mov dword [ebp - 0x7c], eax
fild dword [ebp - 0x7c]
fstp qword [ebp - 0x84]
fld qword [ebp - 0x84]
cmp dword [section..data], 0
jne 0x46cddf
fdiv qword [0x4022f0]
jmp 0x46cdf0
push dword [0x4022f4]
push dword [0x4022f0]
call sub.MSVBVM60.DLL__adj_fdiv_m64
fnstsw ax
test al, 0xd
jne 0x46d2ea
call sub.MSVBVM60.DLL___vbaR8IntI4
mov dword [0x4d2278], eax
cmp dword [0x4d2278], 0x200
jle 0x46ce71
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 [0x4d1404]
call fcn.0040e2fc
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 [0x4d1404]
call fcn.0040e21c
call sub.MSVBVM60.DLL___vbaSetSystemError
and dword [0x4d2278], 0
jmp 0x46d2c1
mov eax, dword [0x4d2278]
sub eax, 1
jo 0x46d2ef
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], 1
and dword [ebp - 0x14], 0
jmp 0x46ce9e
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x70]
jo 0x46d2ef
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x74]
jg 0x46d2c1
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0x201
jae 0x46cec2
and dword [ebp - 0x88], 0
jmp 0x46cecd
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x14]
imul eax, eax, 0x1c
jo 0x46d2ef
mov ecx, dword [ebp - 0x38]
add ecx, eax
jo 0x46d2ef
mov eax, dword [ebp - 0x68]
imul eax, eax, 0x2c
mov edx, dword [0x4d226c]
mov dword [edx + eax], ecx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0x201
jae 0x46cf0b
and dword [ebp - 0x8c], 0
jmp 0x46cf16
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x68]
imul eax, eax, 0x2c
mov ecx, dword [0x4d226c]
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 0x46cf4b
and dword [ebp - 0x90], 0
jmp 0x46cf56
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 [0x4d226c]
push dword [ecx + eax]
push dword [0x4d1404]
call fcn.0040e268
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 0x46cfa1
and dword [ebp - 0x94], 0
jmp 0x46cfac
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 0x46cfc4
and dword [ebp - 0x98], 0
jmp 0x46cfcf
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 [0x4d226c]
lea eax, [ecx + eax + 4]
push eax
push 0x4d1404
call fcn.004356e4
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 [0x4d226c]
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 0x46d03a
and dword [ebp - 0x9c], 0
jmp 0x46d045
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 0x46d061
and dword [ebp - 0xa0], 0
jmp 0x46d06c
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 [0x4d226c]
lea eax, [ecx + eax + 8]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.00435520
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 [0x4d226c]
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 0x46d0cb
and dword [ebp - 0xa4], 0
jmp 0x46d0d6
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0xa4], eax
push 1
mov eax, dword [ebp - 0x68]
imul eax, eax, 0x2c
mov ecx, dword [0x4d226c]
push dword [ecx + eax + 0x24]
push 0x420c1c
push 0
call sub.MSVBVM60.DLL___vbaInStr
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jle 0x46d1ba
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x201
jae 0x46d119
and dword [ebp - 0xa8], 0
jmp 0x46d124
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0x2c
mov ecx, dword [0x4d226c]
lea eax, [ecx + eax + 0x24]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x5c], 0x4008
mov eax, dword [ebp - 0x18]
sub eax, 1
jo 0x46d2ef
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 0x46d170
and dword [ebp - 0xac], 0
jmp 0x46d17b
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 [0x4d226c]
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 0x46d2bc
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0x201
jae 0x46d1d2
and dword [ebp - 0xb0], 0
jmp 0x46d1dd
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0xb0], eax
push 1
mov eax, dword [ebp - 0x68]
imul eax, eax, 0x2c
mov ecx, dword [0x4d226c]
push dword [ecx + eax + 0x24]
push 0x410674
push 0
call sub.MSVBVM60.DLL___vbaInStr
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jle 0x46d2bc
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x201
jae 0x46d220
and dword [ebp - 0xb4], 0
jmp 0x46d22b
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0x2c
mov ecx, dword [0x4d226c]
lea eax, [ecx + eax + 0x24]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x5c], 0x4008
mov eax, dword [ebp - 0x18]
sub eax, 1
jo 0x46d2ef
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 0x46d277
and dword [ebp - 0xb8], 0
jmp 0x46d282
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 [0x4d226c]
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 0x46ce8f
wait
push 0x46d2db
jmp 0x46d2da
ret
jmp fcn.0040444c
call sub.MSVBVM60.DLL___vbaErrorOverflow