Function at 0x4bee10
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x404926
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x401c60
mov al, byte [0x56a5dd]
xor edi, edi
test al, al
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x30], edi
jne 0x4bf6ed
mov al, byte [0x56a5ab]
cmp al, 1
jne 0x4bf52e
mov al, byte [0x56a59a]
xor ecx, ecx
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov cl, al
mov esi, ecx
dec esi
cmp esi, 0x8c
jb 0x4bee82
call ebx
mov al, byte [0x56a59a]
mov ecx, dword [0x56a9c4]
mov edx, esi
shl edx, 4
add edx, esi
cmp byte [ecx + edx*4 + 0x19], 1
jne 0x4bf20f
push edi
push 7
push 1
lea edx, [ebp - 0x18]
push 0x11
push edx
push 1
push 0x80
call dword [sym.imp.MSVBVM60.DLL___vbaRedim]
mov eax, dword [ebp - 0x18]
add esp, 0x1c
cmp eax, edi
je 0x4beed2
cmp word [eax], 1
jne 0x4beed2
mov esi, dword [eax + 0x14]
mov ecx, dword [eax + 0x10]
neg esi
cmp esi, ecx
jb 0x4beed6
call ebx
jmp 0x4beed6
call ebx
mov esi, eax
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaUI1I2]
mov ecx, 0xfe
call edi
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0xc]
mov byte [edx + esi], al
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4bef0e
cmp word [eax], 1
jne 0x4bef0e
mov edx, dword [eax + 0x14]
mov ecx, dword [eax + 0x10]
mov esi, 1
sub esi, edx
cmp esi, ecx
jb 0x4bef12
call ebx
jmp 0x4bef12
call ebx
mov esi, eax
mov ecx, 0xfe
call edi
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0xc]
mov byte [edx + esi], al
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4bef3f
cmp word [eax], 1
jne 0x4bef3f
mov esi, dword [eax + 0x14]
mov ecx, dword [eax + 0x10]
neg esi
cmp esi, ecx
jb 0x4bef43
call ebx
jmp 0x4bef43
call ebx
mov esi, eax
mov ecx, 0xfe
call edi
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0xc]
mov byte [edx + esi], al
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4bef75
cmp word [eax], 1
jne 0x4bef75
mov edx, dword [eax + 0x14]
mov ecx, dword [eax + 0x10]
mov esi, 1
sub esi, edx
cmp esi, ecx
jb 0x4bef79
call ebx
jmp 0x4bef79
call ebx
mov esi, eax
mov ecx, 0xfe
call edi
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0xc]
mov byte [edx + esi], al
mov eax, dword [0x56a5ac]
push eax
push 0x44246c
call dword [sym.imp.MSVBVM60.DLL___vbaStrCmp]
test eax, eax
jne 0x4bf036
xor ebx, ebx
mov bl, byte [0x56a59a]
dec ebx
cmp ebx, 0x8c
jb 0x4befb9
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4befdf
cmp word [eax], 1
jne 0x4befdf
mov edx, dword [eax + 0x14]
mov ecx, dword [eax + 0x10]
mov esi, 2
sub esi, edx
cmp esi, ecx
jb 0x4befe7
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
jmp 0x4befe7
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov esi, eax
mov edx, dword [0x56a9c4]
mov ecx, ebx
shl ecx, 4
add ecx, ebx
push 0x445e1c
mov eax, dword [edx + ecx*4 + 0x2c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x1c]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcR8ValFromBstr]
call dword [sym.imp.MSVBVM60.DLL___vbaFpUI1]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0xc]
lea ecx, [ebp - 0x1c]
mov byte [edx + esi], al
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
jmp 0x4bf097
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4bf058
cmp word [eax], 1
jne 0x4bf058
mov edx, dword [eax + 0x14]
mov ecx, dword [eax + 0x10]
mov esi, 2
sub esi, edx
cmp esi, ecx
jb 0x4bf05c
call ebx
jmp 0x4bf05c
call ebx
mov esi, eax
mov eax, dword [0x56a5ac]
push 0x445e1c
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x1c]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcR8ValFromBstr]
call dword [sym.imp.MSVBVM60.DLL___vbaFpUI1]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0xc]
lea ecx, [ebp - 0x1c]
mov byte [edx + esi], al
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4bf0b9
cmp word [eax], 1
jne 0x4bf0b9
mov edx, dword [eax + 0x14]
mov ecx, dword [eax + 0x10]
mov esi, 3
sub esi, edx
cmp esi, ecx
jb 0x4bf0bd
call ebx
jmp 0x4bf0bd
call ebx
mov esi, eax
mov ecx, 0xe0
call edi
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0xc]
mov byte [edx + esi], al
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4bf0ef
cmp word [eax], 1
jne 0x4bf0ef
mov edx, dword [eax + 0x14]
mov ecx, dword [eax + 0x10]
mov esi, 4
sub esi, edx
cmp esi, ecx
jb 0x4bf0f3
call ebx
jmp 0x4bf0f3
call ebx
mov esi, eax
mov ecx, 0x1c
call edi
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0xc]
mov byte [edx + esi], al
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4bf125
cmp word [eax], 1
jne 0x4bf125
mov edx, dword [eax + 0x14]
mov ecx, dword [eax + 0x10]
mov esi, 5
sub esi, edx
cmp esi, ecx
jb 0x4bf129
call ebx
jmp 0x4bf129
call ebx
mov esi, eax
xor ecx, ecx
call edi
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0xc]
mov byte [edx + esi], al
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4bf158
cmp word [eax], 1
jne 0x4bf158
mov edx, dword [eax + 0x14]
mov ecx, dword [eax + 0x10]
mov esi, 6
sub esi, edx
cmp esi, ecx
jb 0x4bf15c
call ebx
jmp 0x4bf15c
call ebx
mov esi, eax
mov ecx, 1
call edi
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0xc]
mov byte [edx + esi], al
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4bf18e
cmp word [eax], 1
jne 0x4bf18e
mov edx, dword [eax + 0x14]
mov ecx, dword [eax + 0x10]
mov esi, 7
sub esi, edx
cmp esi, ecx
jb 0x4bf192
call ebx
jmp 0x4bf192
call ebx
mov esi, eax
mov ecx, 0xfd
call edi
mov ecx, dword [ebp - 0x18]
mov edi, 0x2011
mov edx, dword [ecx + 0xc]
mov byte [edx + esi], al
mov eax, dword [0x56a510]
mov esi, dword [ebp - 0x18]
test eax, eax
jne 0x4bf1c8
push 0x56a510
push 0x43c720
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov eax, dword [0x56a510]
mov edx, dword [ebp - 0x2c]
sub esp, 0x10
mov ecx, esp
push 0x19
push eax
mov dword [ecx], edi
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x24]
mov dword [ecx + 8], esi
mov dword [ecx + 0xc], edx
mov ecx, dword [eax]
call dword [ecx + 0x440]
lea edx, [ebp - 0x20]
push eax
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaLateIdSt]
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
wait
push 0x4bf715
jmp 0x4bf708
xor ecx, ecx
mov cl, al
mov esi, ecx
dec esi
cmp esi, 0x8c
jb 0x4bf225
call ebx
mov al, byte [0x56a59a]
mov ecx, dword [0x56a9c4]
mov edx, esi
shl edx, 4
add edx, esi
cmp byte [ecx + edx*4 + 0x30], 0
jbe 0x4bf354
xor edx, edx
mov dl, al
mov esi, edx
dec esi
cmp esi, 0x8c
jb 0x4bf24e
call ebx
mov edx, dword [0x56a9c4]
mov eax, esi
shl eax, 4
add eax, esi
xor ecx, ecx
push edi
mov cl, byte [edx + eax*4 + 0x30]
lea eax, [ebp - 0x18]
push ecx
push 1
push 0x11
push eax
push 1
push 0x80
call dword [sym.imp.MSVBVM60.DLL___vbaRedim]
xor ecx, ecx
add esp, 0x1c
mov cl, byte [0x56a59a]
mov esi, ecx
dec esi
cmp esi, 0x8c
jb 0x4bf290
call ebx
mov eax, dword [0x56a9c4]
mov edx, esi
shl edx, 4
add edx, esi
mov cl, byte [eax + edx*4 + 0x30]
mov byte [ebp - 0x54], cl
xor ecx, ecx
call dword [sym.imp.MSVBVM60.DLL___vbaUI1I2]
mov dl, byte [ebp - 0x54]
mov byte [ebp - 0x14], al
cmp al, dl
ja 0x4bf341
xor ebx, ebx
mov bl, byte [0x56a59a]
dec ebx
cmp ebx, 0x8c
jb 0x4bf2d0
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov edi, dword [ebp - 0x14]
and edi, 0xff
cmp edi, 8
jb 0x4bf2e4
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x4bf30c
cmp word [ecx], 1
jne 0x4bf30c
mov edx, dword [ecx + 0x14]
mov eax, dword [ecx + 0x10]
mov esi, edi
sub esi, edx
cmp esi, eax
jb 0x4bf308
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [ebp - 0x18]
mov eax, esi
jmp 0x4bf315
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [ebp - 0x18]
mov esi, dword [0x56a9c4]
mov edx, ebx
mov ecx, dword [ecx + 0xc]
shl edx, 4
add edx, ebx
lea edx, [esi + edx*4]
mov dl, byte [edx + edi + 0x31]
mov byte [ecx + eax], dl
mov cl, byte [ebp - 0x14]
mov al, 1
add al, cl
jb 0x4bf726
jmp 0x4bf2ab
mov eax, dword [0x56a510]
mov esi, dword [ebp - 0x18]
test eax, eax
mov ebx, 0x2011
jne 0x4bf398
jmp 0x4bf383
xor ecx, ecx
mov cl, al
mov esi, ecx
dec esi
cmp esi, 0x8c
jb 0x4bf365
call ebx
mov eax, dword [0x56a9c4]
mov edx, esi
shl edx, 4
add edx, esi
mov ebx, 8
mov esi, dword [eax + edx*4 + 0x24]
mov eax, dword [0x56a510]
test eax, eax
jne 0x4bf398
push 0x56a510
push 0x43c720
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov eax, dword [0x56a510]
mov edx, dword [ebp - 0x2c]
sub esp, 0x10
mov ecx, esp
push 0x19
push eax
mov dword [ecx], ebx
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x24]
mov dword [ecx + 8], esi
mov dword [ecx + 0xc], edx
mov ecx, dword [eax]
call dword [ecx + 0x440]
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
lea edx, [ebp - 0x20]
push eax
push edx
call ebx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaLateIdSt]
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
xor eax, eax
mov al, byte [0x56a59a]
mov esi, eax
dec esi
cmp esi, 0x8c
jb 0x4bf3ee
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov edx, dword [0x56a9c4]
mov ecx, esi
shl ecx, 4
add ecx, esi
mov eax, dword [edx + ecx*4 + 0x1c]
mov ecx, dword [0x56a9e0]
push eax
mov edx, dword [ecx + 0x1c]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrCmp]
test eax, eax
jne 0x4bf6ed
mov eax, dword [0x56a510]
test eax, eax
jne 0x4bf436
push 0x56a510
push 0x43c720
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov eax, dword [0x56a510]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x308]
lea edx, [ebp - 0x20]
push eax
push edx
call ebx
mov esi, eax
push 0x1f4
push esi
mov eax, dword [esi]
call dword [eax + 0x64]
test eax, eax
fnclex
jge 0x4bf46c
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0x64
push 0x441f14
push esi
push eax
call edi
jmp 0x4bf472
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
mov eax, dword [0x56a510]
test eax, eax
jne 0x4bf499
push 0x56a510
push 0x43c720
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov eax, dword [0x56a510]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x308]
lea edx, [ebp - 0x20]
push eax
push edx
call ebx
mov esi, eax
push 0
push esi
mov eax, dword [esi]
call dword [eax + 0x5c]
test eax, eax
fnclex
jge 0x4bf4c4
push 0x5c
push 0x441f14
push esi
push eax
call edi
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
mov eax, dword [0x56a510]
test eax, eax
jne 0x4bf4eb
push 0x56a510
push 0x43c720
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov eax, dword [0x56a510]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x308]
lea edx, [ebp - 0x20]
push eax
push edx
call ebx
mov esi, eax
push 0xffffffffffffffff
push esi
mov eax, dword [esi]
call dword [eax + 0x5c]
test eax, eax
fnclex
jge 0x4bf598
push 0x5c
push 0x441f14
push esi
push eax
call edi
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
wait
push 0x4bf715
jmp 0x4bf708
cmp al, 2
jne 0x4bf6e2
mov al, byte [0x56a5a8]
cmp al, 1
jne 0x4bf5ac
mov eax, dword [0x56a510]
or esi, 0xffffffff
test eax, eax
mov edi, 0xb
jne 0x4bf565
push 0x56a510
push 0x43c720
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov eax, dword [0x56a510]
mov edx, dword [ebp - 0x2c]
sub esp, 0x10
mov ecx, esp
push 0x16
push eax
mov dword [ecx], edi
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x24]
mov dword [ecx + 8], esi
mov dword [ecx + 0xc], edx
mov ecx, dword [eax]
call dword [ecx + 0x440]
lea edx, [ebp - 0x20]
push eax
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaLateIdSt]
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
wait
push 0x4bf715
jmp 0x4bf708
cmp al, 2
jne 0x4bf61d
mov eax, dword [0x56a510]
or esi, 0xffffffff
test eax, eax
mov edi, 0xb
jne 0x4bf5d6
push 0x56a510
push 0x43c720
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov eax, dword [0x56a510]
mov edx, dword [ebp - 0x2c]
sub esp, 0x10
mov ecx, esp
push 9
push eax
mov dword [ecx], edi
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x24]
mov dword [ecx + 8], esi
mov dword [ecx + 0xc], edx
mov ecx, dword [eax]
call dword [ecx + 0x440]
lea edx, [ebp - 0x20]
push eax
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaLateIdSt]
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
wait
push 0x4bf715
jmp 0x4bf708
cmp al, 3
jne 0x4bf6ed
mov eax, dword [0x56a510]
or edi, 0xffffffff
test eax, eax
mov esi, 0xb
jne 0x4bf64b
push 0x56a510
push 0x43c720
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov eax, dword [0x56a510]
sub esp, 0x10
mov edx, dword [eax]
mov ecx, esp
push 0x16
push eax
mov dword [ecx], esi
mov esi, dword [ebp - 0x2c]
mov dword [ecx + 4], esi
mov dword [ecx + 8], edi
mov edi, dword [ebp - 0x24]
mov dword [ecx + 0xc], edi
call dword [edx + 0x440]
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
push eax
lea eax, [ebp - 0x20]
push eax
call ebx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaLateIdSt]
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
mov eax, dword [0x56a510]
mov dword [ebp - 0x28], 0xffffffff
test eax, eax
mov dword [ebp - 0x30], 0xb
jne 0x4bf6b5
push 0x56a510
push 0x43c720
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov eax, dword [0x56a510]
mov edx, dword [ebp - 0x30]
sub esp, 0x10
mov ecx, esp
push 0x16
push eax
mov dword [ecx], edx
mov edx, dword [ebp - 0x28]
mov dword [ecx + 4], esi
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], edi
mov ecx, dword [eax]
call dword [ecx + 0x440]
lea edx, [ebp - 0x20]
push eax
push edx
call ebx
jmp 0x4bf591
cmp al, 4
jne 0x4bf6ed
push 0xffffffffffffffff
call fcn.005341a0
wait
push 0x4bf715
jmp 0x4bf708
lea eax, [ebp - 0x18]
push eax
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaAryDestruct]
ret
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop
nop
nop
nop