Function at 0x49e5ad
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
push 0x30
pop eax
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x402388
cmp dword [0x5017e4], 0
jne 0x49e37b
jmp 0x49e57e
call fcn.004cb218
movsx eax, ax
test eax, eax
jne 0x49e487
mov eax, dword [0x502084]
mov ecx, dword [0x501400]
sub ecx, dword [eax + 0x1c]
jo 0x49e5a8
cmp ecx, 0xc8
jle 0x49e487
cmp dword [0x501890], 0
jne 0x49e487
fld dword [0x501928]
fmul dword [0x402380]
fnstsw ax
test al, 0xd
jne 0x49e5a3
call sub.MSVBVM60.DLL___vbaFpR8
fild dword [0x501498]
fstp qword [ebp - 0x30]
fcomp qword [ebp - 0x30]
fnstsw ax
sahf
jae 0x49e487
mov eax, dword [0x501818]
sub eax, dword [0x5017e4]
jo 0x49e5a8
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
call 0x49e5ad
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jl 0x49e487
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x81
jae 0x49e423
and dword [ebp - 0x34], 0
jmp 0x49e42b
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x34], eax
push 0x43bc4c
mov eax, dword [ebp - 0x24]
imul eax, eax, 0x8c
mov ecx, dword [0x501bf8]
push dword [ecx + eax + 0x88]
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x1c]
call sub.MSVBVM60.DLL___vbaStrMove
lea eax, [ebp - 0x1c]
push eax
call fcn.00480c34
lea ecx, [ebp - 0x1c]
call sub.MSVBVM60.DLL___vbaFreeStr
lea eax, [ebp - 0x18]
push eax
call fcn.00482c1b
mov eax, dword [0x502084]
mov ecx, dword [0x501400]
mov dword [eax + 0x1c], ecx
or word [ebp - 0x14], 0xffff
jmp 0x49e57e
mov eax, dword [0x502084]
mov ecx, dword [0x501400]
sub ecx, dword [eax + 0x20]
jo 0x49e5a8
cmp ecx, 0xc8
jle 0x49e57e
cmp dword [0x501898], 0
jne 0x49e57e
fld dword [0x50192c]
fmul dword [0x402380]
fnstsw ax
test al, 0xd
jne 0x49e5a3
call sub.MSVBVM60.DLL___vbaFpR8
fild dword [0x50149c]
fstp qword [ebp - 0x3c]
fcomp qword [ebp - 0x3c]
fnstsw ax
sahf
jae 0x49e57e
mov eax, dword [0x50181c]
sub eax, dword [0x5017e8]
jo 0x49e5a8
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
call 0x49e77d
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jl 0x49e57e
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x81
jae 0x49e51f
and dword [ebp - 0x40], 0
jmp 0x49e527
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x40], eax
push 0x43bc4c
mov eax, dword [ebp - 0x24]
imul eax, eax, 0x8c
mov ecx, dword [0x501bf8]
push dword [ecx + eax + 0x88]
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x1c]
call sub.MSVBVM60.DLL___vbaStrMove
lea eax, [ebp - 0x1c]
push eax
call fcn.00480c34
lea ecx, [ebp - 0x1c]
call sub.MSVBVM60.DLL___vbaFreeStr
lea eax, [ebp - 0x18]
push eax
call fcn.00482c1b
mov eax, dword [0x502084]
mov ecx, dword [0x501400]
mov dword [eax + 0x20], ecx
or word [ebp - 0x14], 0xffff
wait
push 0x49e590
jmp 0x49e58f
ret
jmp fcn.0040447c
call sub.MSVBVM60.DLL___vbaErrorOverflow
push ebp
mov ebp, esp
push 0x40
pop eax
call sub.MSVBVM60.DLL___vbaChkstk
mov dword [ebp - 8], 0x64000
or dword [ebp - 0x14], 0xffffffff
mov eax, dword [0x501c04]
sub eax, 1
jo 0x49e778
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 1
and dword [ebp - 4], 0
jmp 0x49e5f0
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x24]
jo 0x49e778
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x28]
jg 0x49e76b
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x81
jae 0x49e611
and dword [ebp - 0x2c], 0
jmp 0x49e619
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x18]
imul eax, eax, 0x8c
mov ecx, dword [0x501bf8]
cmp word [ecx + eax], 0xffff
jne 0x49e766
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x81
jae 0x49e648
and dword [ebp - 0x30], 0
jmp 0x49e650
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x1c]
imul eax, eax, 0x8c
mov ecx, dword [0x501bf8]
cmp dword [ecx + eax + 8], 9
jne 0x49e766
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x81
jae 0x49e67f
and dword [ebp - 0x34], 0
jmp 0x49e687
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x18]
imul eax, eax, 0x8c
mov ecx, dword [0x501bf8]
mov eax, dword [ecx + eax + 0x68]
cmp eax, dword [0x5017dc]
jg 0x49e766
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x81
jae 0x49e6bb
and dword [ebp - 0x38], 0
jmp 0x49e6c3
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x1c]
imul eax, eax, 0x8c
mov ecx, dword [0x501bf8]
cmp dword [ecx + eax + 0x74], 0xa
jg 0x49e766
mov eax, dword [ebp - 4]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x81
jae 0x49e6f2
and dword [ebp - 0x3c], 0
jmp 0x49e6fa
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x20]
imul eax, eax, 0x8c
mov ecx, dword [0x501bf8]
cmp dword [ecx + eax + 0x60], 0x702
jne 0x49e766
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x81
jae 0x49e728
and dword [ebp - 0x40], 0
jmp 0x49e730
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x18]
imul eax, eax, 0x8c
mov ecx, dword [ebp + 8]
mov edx, dword [0x501bf8]
mov ecx, dword [ecx]
sub ecx, dword [edx + eax + 0x70]
jo 0x49e778
call sub.MSVBVM60.DLL___vbaI4Abs
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x10]
jle 0x49e766
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
jmp 0x49e5e1
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
leave
ret 4
call sub.MSVBVM60.DLL___vbaErrorOverflow
push ebp
mov ebp, esp
push 0x44
pop eax
call sub.MSVBVM60.DLL___vbaChkstk
mov dword [ebp - 0xc], 0x64000
or dword [ebp - 0x14], 0xffffffff
mov eax, dword [0x501c04]
sub eax, 1
jo 0x49e996
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 1
and dword [ebp - 4], 0
jmp 0x49e7c0
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x24]
jo 0x49e996
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x28]
jg 0x49e989
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x81
jae 0x49e7e1
and dword [ebp - 0x2c], 0
jmp 0x49e7e9
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x18]
imul eax, eax, 0x8c
mov ecx, dword [0x501bf8]
cmp word [ecx + eax], 0xffff
jne 0x49e984
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x81
jae 0x49e818
and dword [ebp - 0x30], 0
jmp 0x49e820
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x1c]
imul eax, eax, 0x8c
mov ecx, dword [0x501bf8]
cmp dword [ecx + eax + 8], 9
jne 0x49e984
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x81
jae 0x49e84f
and dword [ebp - 0x34], 0
jmp 0x49e857
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x18]
imul eax, eax, 0x8c
mov ecx, dword [0x501bf8]
cmp dword [ecx + eax + 0x68], 0x5a
jl 0x49e888
movsx eax, word [0x50148e]
test eax, eax
je 0x49e888
cmp dword [0x5017e8], 0x5dc
jge 0x49e984
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x81
jae 0x49e89d
and dword [ebp - 0x38], 0
jmp 0x49e8a5
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x18]
imul eax, eax, 0x8c
mov ecx, dword [0x501bf8]
mov eax, dword [ecx + eax + 0x68]
cmp eax, dword [0x5017dc]
jg 0x49e984
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x81
jae 0x49e8d9
and dword [ebp - 0x3c], 0
jmp 0x49e8e1
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x1c]
imul eax, eax, 0x8c
mov ecx, dword [0x501bf8]
cmp dword [ecx + eax + 0x7c], 0xa
jg 0x49e984
mov eax, dword [ebp - 4]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x81
jae 0x49e910
and dword [ebp - 0x40], 0
jmp 0x49e918
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x20]
imul eax, eax, 0x8c
mov ecx, dword [0x501bf8]
cmp dword [ecx + eax + 0x60], 0x70a
jne 0x49e984
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x81
jae 0x49e946
and dword [ebp - 0x44], 0
jmp 0x49e94e
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x18]
imul eax, eax, 0x8c
mov ecx, dword [ebp + 8]
mov edx, dword [0x501bf8]
mov ecx, dword [ecx]
sub ecx, dword [edx + eax + 0x78]
jo 0x49e996
call sub.MSVBVM60.DLL___vbaI4Abs
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x10]
jle 0x49e984
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
jmp 0x49e7b1
mov eax, dword [ebp - 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
leave
ret 4
call sub.MSVBVM60.DLL___vbaErrorOverflow