Function at 0x49c4d2
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push 0x404476
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], 0x4022c8
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 [0x501404]
call fcn.004295a8
call sub.MSVBVM60.DLL___vbaSetSystemError
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x38]
jo 0x49ca6e
mov dword [ebp - 0x7c], eax
fild dword [ebp - 0x7c]
fstp qword [ebp - 0x84]
fld qword [ebp - 0x84]
cmp dword [section..data], 0
jne 0x49c55e
fdiv qword [0x4022c0]
jmp 0x49c56f
push dword [0x4022c4]
push dword [0x4022c0]
call sub.MSVBVM60.DLL__adj_fdiv_m64
fnstsw ax
test al, 0xd
jne 0x49ca69
call sub.MSVBVM60.DLL___vbaR8IntI4
mov dword [0x502274], eax
cmp dword [0x502274], 0x200
jle 0x49c5f0
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 [0x501404]
call fcn.0042963c
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 [0x501404]
call fcn.0042955c
call sub.MSVBVM60.DLL___vbaSetSystemError
and dword [0x502274], 0
jmp 0x49ca40
mov eax, dword [0x502274]
sub eax, 1
jo 0x49ca6e
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], 1
and dword [ebp - 0x14], 0
jmp 0x49c61d
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x70]
jo 0x49ca6e
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x74]
jg 0x49ca40
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0x201
jae 0x49c641
and dword [ebp - 0x88], 0
jmp 0x49c64c
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x14]
imul eax, eax, 0x1c
jo 0x49ca6e
mov ecx, dword [ebp - 0x38]
add ecx, eax
jo 0x49ca6e
mov eax, dword [ebp - 0x68]
imul eax, eax, 0x2c
mov edx, dword [0x502268]
mov dword [edx + eax], ecx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0x201
jae 0x49c68a
and dword [ebp - 0x8c], 0
jmp 0x49c695
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x68]
imul eax, eax, 0x2c
mov ecx, dword [0x502268]
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 0x49c6ca
and dword [ebp - 0x90], 0
jmp 0x49c6d5
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 [0x502268]
push dword [ecx + eax]
push dword [0x501404]
call fcn.004295a8
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 0x49c720
and dword [ebp - 0x94], 0
jmp 0x49c72b
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 0x49c743
and dword [ebp - 0x98], 0
jmp 0x49c74e
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 [0x502268]
lea eax, [ecx + eax + 4]
push eax
push 0x501404
call fcn.004653b5
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 [0x502268]
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 0x49c7b9
and dword [ebp - 0x9c], 0
jmp 0x49c7c4
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 0x49c7e0
and dword [ebp - 0xa0], 0
jmp 0x49c7eb
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 [0x502268]
lea eax, [ecx + eax + 8]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.004651f1
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 [0x502268]
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 0x49c84a
and dword [ebp - 0xa4], 0
jmp 0x49c855
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0xa4], eax
push 1
mov eax, dword [ebp - 0x68]
imul eax, eax, 0x2c
mov ecx, dword [0x502268]
push dword [ecx + eax + 0x24]
push 0x43bf94
push 0
call sub.MSVBVM60.DLL___vbaInStr
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jle 0x49c939
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x201
jae 0x49c898
and dword [ebp - 0xa8], 0
jmp 0x49c8a3
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0x2c
mov ecx, dword [0x502268]
lea eax, [ecx + eax + 0x24]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x5c], 0x4008
mov eax, dword [ebp - 0x18]
sub eax, 1
jo 0x49ca6e
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 0x49c8ef
and dword [ebp - 0xac], 0
jmp 0x49c8fa
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 [0x502268]
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 0x49ca3b
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0x201
jae 0x49c951
and dword [ebp - 0xb0], 0
jmp 0x49c95c
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0xb0], eax
push 1
mov eax, dword [ebp - 0x68]
imul eax, eax, 0x2c
mov ecx, dword [0x502268]
push dword [ecx + eax + 0x24]
push 0x42bc24
push 0
call sub.MSVBVM60.DLL___vbaInStr
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jle 0x49ca3b
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x201
jae 0x49c99f
and dword [ebp - 0xb4], 0
jmp 0x49c9aa
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0x2c
mov ecx, dword [0x502268]
lea eax, [ecx + eax + 0x24]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x5c], 0x4008
mov eax, dword [ebp - 0x18]
sub eax, 1
jo 0x49ca6e
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 0x49c9f6
and dword [ebp - 0xb8], 0
jmp 0x49ca01
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 [0x502268]
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 0x49c60e
wait
push 0x49ca5a
jmp 0x49ca59
ret
jmp fcn.0040447c
call sub.MSVBVM60.DLL___vbaErrorOverflow